Home
last modified time | relevance | path

Searched refs:bss_desc (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/net/wireless/mwifiex/
Djoin.c102 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_append_tsf_tlv() argument
122 tsf_val = cpu_to_le64(bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv()
126 tsf_val = cpu_to_le64(bss_desc->timestamp); in mwifiex_cmd_append_tsf_tlv()
130 __func__, bss_desc->timestamp, bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv()
203 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_setup_rates_from_bssdesc() argument
210 memcpy(out_rates, bss_desc->supported_rates, MWIFIEX_SUPPORTED_RATES); in mwifiex_setup_rates_from_bssdesc()
385 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_802_11_associate() argument
405 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_associate()
408 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate()
414 assoc->beacon_period = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_associate()
[all …]
Dscan.c118 mwifiex_is_rsn_oui_present(struct mwifiex_bssdescriptor *bss_desc, u32 cipher) in mwifiex_is_rsn_oui_present() argument
124 if (((bss_desc->bcn_rsn_ie) && ((*(bss_desc->bcn_rsn_ie)). in mwifiex_is_rsn_oui_present()
127 (((u8 *) bss_desc->bcn_rsn_ie->data) + in mwifiex_is_rsn_oui_present()
145 mwifiex_is_wpa_oui_present(struct mwifiex_bssdescriptor *bss_desc, u32 cipher) in mwifiex_is_wpa_oui_present() argument
151 if (((bss_desc->bcn_wpa_ie) && in mwifiex_is_wpa_oui_present()
152 ((*(bss_desc->bcn_wpa_ie)).vend_hdr.element_id == in mwifiex_is_wpa_oui_present()
154 iebody = (struct ie_body *) bss_desc->bcn_wpa_ie->data; in mwifiex_is_wpa_oui_present()
180 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_is_bss_wapi() argument
183 (bss_desc->bcn_wapi_ie && in mwifiex_is_bss_wapi()
184 ((*(bss_desc->bcn_wapi_ie)).ieee_hdr.element_id == in mwifiex_is_bss_wapi()
[all …]
D11ac.c170 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_cmd_append_11ac_tlv() argument
182 if (bss_desc->bss_band & BAND_A) in mwifiex_cmd_append_11ac_tlv()
188 if (bss_desc->bcn_vht_cap) { in mwifiex_cmd_append_11ac_tlv()
195 (u8 *)bss_desc->bcn_vht_cap, in mwifiex_cmd_append_11ac_tlv()
199 bss_desc->bss_band); in mwifiex_cmd_append_11ac_tlv()
205 if (bss_desc->bcn_vht_oper) { in mwifiex_cmd_append_11ac_tlv()
215 (u8 *)bss_desc->bcn_vht_oper, in mwifiex_cmd_append_11ac_tlv()
227 bss_desc->bcn_vht_oper->chan_width); in mwifiex_cmd_append_11ac_tlv()
232 bss_desc->bcn_vht_oper->chan_width); in mwifiex_cmd_append_11ac_tlv()
237 bss_desc->bcn_vht_oper->chan_width); in mwifiex_cmd_append_11ac_tlv()
[all …]
Dsta_ioctl.c139 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_fill_new_bss_desc() argument
150 bss_desc->timestamp = ies->tsf; in mwifiex_fill_new_bss_desc()
158 memcpy(bss_desc->mac_address, bss->bssid, ETH_ALEN); in mwifiex_fill_new_bss_desc()
159 bss_desc->rssi = bss->signal; in mwifiex_fill_new_bss_desc()
161 bss_desc->beacon_buf = beacon_ie; in mwifiex_fill_new_bss_desc()
162 bss_desc->beacon_buf_size = beacon_ie_len; in mwifiex_fill_new_bss_desc()
163 bss_desc->beacon_period = bss->beacon_interval; in mwifiex_fill_new_bss_desc()
164 bss_desc->cap_info_bitmap = bss->capability; in mwifiex_fill_new_bss_desc()
165 bss_desc->bss_band = bss_priv->band; in mwifiex_fill_new_bss_desc()
166 bss_desc->fw_tsf = bss_priv->fw_tsf; in mwifiex_fill_new_bss_desc()
[all …]
D11h.c39 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_11h_process_infra_join() argument
51 radio_type = mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_11h_process_infra_join()
64 constraint->chan = bss_desc->channel; in mwifiex_11h_process_infra_join()
65 constraint->constraint = bss_desc->local_constraint; in mwifiex_11h_process_infra_join()
101 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_11h_process_join() argument
103 if (bss_desc->sensed_11h) { in mwifiex_11h_process_join()
109 bss_desc->cap_info_bitmap |= WLAN_CAPABILITY_SPECTRUM_MGMT; in mwifiex_11h_process_join()
110 mwifiex_11h_process_infra_join(priv, buffer, bss_desc); in mwifiex_11h_process_join()
115 bss_desc->cap_info_bitmap &= ~WLAN_CAPABILITY_SPECTRUM_MGMT; in mwifiex_11h_process_join()
D11n.c311 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_cmd_append_11n_tlv() argument
327 radio_type = mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_append_11n_tlv()
330 if (bss_desc->bcn_ht_cap) { in mwifiex_cmd_append_11n_tlv()
337 (u8 *)bss_desc->bcn_ht_cap, in mwifiex_cmd_append_11n_tlv()
346 if (bss_desc->bcn_ht_oper) { in mwifiex_cmd_append_11n_tlv()
359 (u8 *)bss_desc->bcn_ht_oper, in mwifiex_cmd_append_11n_tlv()
381 bss_desc->bcn_ht_oper->primary_chan; in mwifiex_cmd_append_11n_tlv()
383 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_append_11n_tlv()
386 bss_desc->bcn_ht_oper->ht_param & in mwifiex_cmd_append_11n_tlv()
390 (bss_desc->bcn_ht_oper->ht_param & in mwifiex_cmd_append_11n_tlv()
[all …]
Dtdls.c196 struct mwifiex_bssdescriptor *bss_desc = in mwifiex_tdls_add_ht_oper() local
212 ht_oper->primary_chan = bss_desc->channel; in mwifiex_tdls_add_ht_oper()
216 bss_desc->bcn_ht_cap && in mwifiex_tdls_add_ht_oper()
217 ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param)) in mwifiex_tdls_add_ht_oper()
218 ht_oper->ht_param = bss_desc->bcn_ht_oper->ht_param; in mwifiex_tdls_add_ht_oper()
222 mwifiex_get_sec_chan_offset(bss_desc->channel); in mwifiex_tdls_add_ht_oper()
235 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_tdls_add_vht_oper() local
246 bss_desc = &priv->curr_bss_params.bss_descriptor; in mwifiex_tdls_add_vht_oper()
262 ap_vht_cap = bss_desc->bcn_vht_cap; in mwifiex_tdls_add_vht_oper()
270 if (bss_desc->bss_band & BAND_A) in mwifiex_tdls_add_vht_oper()
[all …]
D11ac.h38 struct mwifiex_bssdescriptor *bss_desc,
Dmain.h1031 struct mwifiex_bssdescriptor *bss_desc);
1034 struct mwifiex_bssdescriptor *bss_desc);
1044 struct mwifiex_bssdescriptor *bss_desc);
1050 struct mwifiex_bssdescriptor *bss_desc);
1328 struct mwifiex_bssdescriptor *bss_desc);
1332 struct mwifiex_bssdescriptor *bss_desc);
1364 struct mwifiex_bssdescriptor *bss_desc);
D11n.h35 struct mwifiex_bssdescriptor *bss_desc,