Home
last modified time | relevance | path

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

/drivers/net/wireless/marvell/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 …]
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 …]
Dscan.c82 struct mwifiex_bssdescriptor *bss_desc) in _dbg_security_flags() argument
87 bss_desc->bcn_wpa_ie ? in _dbg_security_flags()
88 bss_desc->bcn_wpa_ie->vend_hdr.element_id : 0, in _dbg_security_flags()
89 bss_desc->bcn_rsn_ie ? in _dbg_security_flags()
90 bss_desc->bcn_rsn_ie->ieee_hdr.element_id : 0, in _dbg_security_flags()
95 bss_desc->privacy); in _dbg_security_flags()
97 #define dbg_security_flags(mask, desc, priv, bss_desc) \ argument
98 _dbg_security_flags(MWIFIEX_DBG_##mask, desc, __func__, priv, bss_desc)
151 mwifiex_is_rsn_oui_present(struct mwifiex_bssdescriptor *bss_desc, u32 cipher) in mwifiex_is_rsn_oui_present() argument
157 if (has_ieee_hdr(bss_desc->bcn_rsn_ie, WLAN_EID_RSN)) { in mwifiex_is_rsn_oui_present()
[all …]
D11n.c312 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_cmd_append_11n_tlv() argument
328 radio_type = mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_append_11n_tlv()
331 if (bss_desc->bcn_ht_cap) { in mwifiex_cmd_append_11n_tlv()
338 (u8 *)bss_desc->bcn_ht_cap, in mwifiex_cmd_append_11n_tlv()
343 if (bss_desc->bcn_ht_oper) { in mwifiex_cmd_append_11n_tlv()
344 u8 ht_param = bss_desc->bcn_ht_oper->ht_param; in mwifiex_cmd_append_11n_tlv()
346 mwifiex_band_to_radio_type(bss_desc->bss_band); in mwifiex_cmd_append_11n_tlv()
348 ieee80211_channel_to_frequency(bss_desc->channel, in mwifiex_cmd_append_11n_tlv()
379 if (bss_desc->bcn_ht_oper) { in mwifiex_cmd_append_11n_tlv()
392 (u8 *)bss_desc->bcn_ht_oper, in mwifiex_cmd_append_11n_tlv()
[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()
Dtdls.c192 struct mwifiex_bssdescriptor *bss_desc = in mwifiex_tdls_add_ht_oper() local
214 ht_oper->primary_chan = bss_desc->channel; in mwifiex_tdls_add_ht_oper()
218 bss_desc->bcn_ht_cap && in mwifiex_tdls_add_ht_oper()
219 ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param)) in mwifiex_tdls_add_ht_oper()
220 ht_oper->ht_param = bss_desc->bcn_ht_oper->ht_param; in mwifiex_tdls_add_ht_oper()
224 mwifiex_get_sec_chan_offset(bss_desc->channel); in mwifiex_tdls_add_ht_oper()
237 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_tdls_add_vht_oper() local
248 bss_desc = &priv->curr_bss_params.bss_descriptor; in mwifiex_tdls_add_vht_oper()
271 ap_vht_cap = bss_desc->bcn_vht_cap; in mwifiex_tdls_add_vht_oper()
279 if (bss_desc->bss_band & BAND_A) in mwifiex_tdls_add_vht_oper()
[all …]
D11ac.h38 struct mwifiex_bssdescriptor *bss_desc,
Dmain.h1177 struct mwifiex_bssdescriptor *bss_desc);
1180 struct mwifiex_bssdescriptor *bss_desc);
1191 struct mwifiex_bssdescriptor *bss_desc);
1197 struct mwifiex_bssdescriptor *bss_desc);
1558 struct mwifiex_bssdescriptor *bss_desc);
1562 struct mwifiex_bssdescriptor *bss_desc);
1598 struct mwifiex_bssdescriptor *bss_desc);
D11n.h35 struct mwifiex_bssdescriptor *bss_desc,