Home
last modified time | relevance | path

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

/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()
204 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_setup_rates_from_bssdesc() argument
211 memcpy(out_rates, bss_desc->supported_rates, MWIFIEX_SUPPORTED_RATES); in mwifiex_setup_rates_from_bssdesc()
389 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_802_11_associate() argument
409 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_associate()
412 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate()
418 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 *)((u8 *)bss_desc->bcn_wpa_ie->data + in mwifiex_is_wpa_oui_present()
181 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_is_bss_wapi() argument
184 (bss_desc->bcn_wapi_ie && in mwifiex_is_bss_wapi()
185 ((*(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.c143 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_fill_new_bss_desc() argument
154 bss_desc->timestamp = ies->tsf; in mwifiex_fill_new_bss_desc()
163 memcpy(bss_desc->mac_address, bss->bssid, ETH_ALEN); in mwifiex_fill_new_bss_desc()
164 bss_desc->rssi = bss->signal; in mwifiex_fill_new_bss_desc()
166 bss_desc->beacon_buf = beacon_ie; in mwifiex_fill_new_bss_desc()
167 bss_desc->beacon_buf_size = beacon_ie_len; in mwifiex_fill_new_bss_desc()
168 bss_desc->beacon_period = bss->beacon_interval; in mwifiex_fill_new_bss_desc()
169 bss_desc->cap_info_bitmap = bss->capability; in mwifiex_fill_new_bss_desc()
170 bss_desc->bss_band = bss_priv->band; in mwifiex_fill_new_bss_desc()
171 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.c314 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_cmd_append_11n_tlv() argument
330 radio_type = mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_append_11n_tlv()
333 if (bss_desc->bcn_ht_cap) { in mwifiex_cmd_append_11n_tlv()
340 (u8 *)bss_desc->bcn_ht_cap, in mwifiex_cmd_append_11n_tlv()
349 if (bss_desc->bcn_ht_oper) { in mwifiex_cmd_append_11n_tlv()
362 (u8 *)bss_desc->bcn_ht_oper, in mwifiex_cmd_append_11n_tlv()
384 bss_desc->bcn_ht_oper->primary_chan; in mwifiex_cmd_append_11n_tlv()
386 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_append_11n_tlv()
389 bss_desc->bcn_ht_oper->ht_param & in mwifiex_cmd_append_11n_tlv()
393 (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
218 ht_oper->primary_chan = bss_desc->channel; in mwifiex_tdls_add_ht_oper()
222 bss_desc->bcn_ht_cap && in mwifiex_tdls_add_ht_oper()
223 ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param)) in mwifiex_tdls_add_ht_oper()
224 ht_oper->ht_param = bss_desc->bcn_ht_oper->ht_param; in mwifiex_tdls_add_ht_oper()
228 mwifiex_get_sec_chan_offset(bss_desc->channel); in mwifiex_tdls_add_ht_oper()
241 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_tdls_add_vht_oper() local
252 bss_desc = &priv->curr_bss_params.bss_descriptor; in mwifiex_tdls_add_vht_oper()
275 ap_vht_cap = bss_desc->bcn_vht_cap; in mwifiex_tdls_add_vht_oper()
283 if (bss_desc->bss_band & BAND_A) in mwifiex_tdls_add_vht_oper()
[all …]
D11ac.h38 struct mwifiex_bssdescriptor *bss_desc,
Dmain.h1117 struct mwifiex_bssdescriptor *bss_desc);
1120 struct mwifiex_bssdescriptor *bss_desc);
1130 struct mwifiex_bssdescriptor *bss_desc);
1136 struct mwifiex_bssdescriptor *bss_desc);
1437 struct mwifiex_bssdescriptor *bss_desc);
1441 struct mwifiex_bssdescriptor *bss_desc);
1475 struct mwifiex_bssdescriptor *bss_desc);
D11n.h35 struct mwifiex_bssdescriptor *bss_desc,