Lines Matching refs:bss_desc

102 			   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()
423 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate()
424 memcpy(ssid_tlv->ssid, bss_desc->ssid.ssid, in mwifiex_cmd_802_11_associate()
432 &bss_desc->phy_param_set.ds_param_set.current_chan, in mwifiex_cmd_802_11_associate()
443 (priv, bss_desc, rates, &rates_size)) in mwifiex_cmd_802_11_associate()
473 (!bss_desc->disable_11n) && in mwifiex_cmd_802_11_associate()
476 (bss_desc->bcn_ht_cap) in mwifiex_cmd_802_11_associate()
489 (bss_desc->phy_param_set.ds_param_set.current_chan); in mwifiex_cmd_802_11_associate()
494 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_802_11_associate()
511 (!bss_desc->disable_11n) && in mwifiex_cmd_802_11_associate()
514 mwifiex_cmd_append_11n_tlv(priv, bss_desc, &pos); in mwifiex_cmd_802_11_associate()
517 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_cmd_802_11_associate()
519 mwifiex_cmd_append_11ac_tlv(priv, bss_desc, &pos); in mwifiex_cmd_802_11_associate()
524 mwifiex_wmm_process_association_req(priv, &pos, &bss_desc->wmm_ie, in mwifiex_cmd_802_11_associate()
525 bss_desc->bcn_ht_cap); in mwifiex_cmd_802_11_associate()
534 mwifiex_cmd_append_tsf_tlv(priv, &pos, bss_desc); in mwifiex_cmd_802_11_associate()
536 mwifiex_11h_process_join(priv, &pos, bss_desc); in mwifiex_cmd_802_11_associate()
541 tmp_cap = bss_desc->cap_info_bitmap; in mwifiex_cmd_802_11_associate()
622 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_ret_802_11_associate() local
662 bss_desc = priv->attempted_bss_desc; in mwifiex_ret_802_11_associate()
665 bss_desc->ssid.ssid); in mwifiex_ret_802_11_associate()
669 bss_desc, sizeof(struct mwifiex_bssdescriptor)); in mwifiex_ret_802_11_associate()
673 = bss_desc->phy_param_set.ds_param_set.current_chan; in mwifiex_ret_802_11_associate()
675 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_ret_802_11_associate()
677 if (bss_desc->wmm_ie.vend_hdr.element_id == WLAN_EID_VENDOR_SPECIFIC) in mwifiex_ret_802_11_associate()
682 if ((priv->wmm_required || bss_desc->bcn_ht_cap) && in mwifiex_ret_802_11_associate()
692 = ((bss_desc->wmm_ie.qos_info_bitmap & in mwifiex_ret_802_11_associate()
784 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_cmd_802_11_ad_hoc_start() local
801 bss_desc = &priv->curr_bss_params.bss_descriptor; in mwifiex_cmd_802_11_ad_hoc_start()
802 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_ad_hoc_start()
821 memset(bss_desc->ssid.ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start()
822 memcpy(bss_desc->ssid.ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start()
824 bss_desc->ssid.ssid_len = req_ssid->ssid_len; in mwifiex_cmd_802_11_ad_hoc_start()
828 bss_desc->bss_mode = NL80211_IFTYPE_ADHOC; in mwifiex_cmd_802_11_ad_hoc_start()
830 bss_desc->beacon_period = priv->beacon_period; in mwifiex_cmd_802_11_ad_hoc_start()
861 bss_desc->channel = priv->adhoc_channel; in mwifiex_cmd_802_11_ad_hoc_start()
865 memcpy(&bss_desc->phy_param_set, &adhoc_start->phy_param_set, in mwifiex_cmd_802_11_ad_hoc_start()
878 memcpy(&bss_desc->ss_param_set, &adhoc_start->ss_param_set, in mwifiex_cmd_802_11_ad_hoc_start()
882 bss_desc->cap_info_bitmap |= WLAN_CAPABILITY_IBSS; in mwifiex_cmd_802_11_ad_hoc_start()
890 bss_desc->privacy = MWIFIEX_802_11_PRIV_FILTER_8021X_WEP; in mwifiex_cmd_802_11_ad_hoc_start()
895 bss_desc->privacy = MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL; in mwifiex_cmd_802_11_ad_hoc_start()
1053 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_802_11_ad_hoc_join() argument
1069 if (bss_desc->erp_flags & USE_G_PROTECTION) { in mwifiex_cmd_802_11_ad_hoc_join()
1083 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_ad_hoc_join()
1090 = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_ad_hoc_join()
1093 &bss_desc->mac_address, ETH_ALEN); in mwifiex_cmd_802_11_ad_hoc_join()
1096 &bss_desc->ssid.ssid, bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_ad_hoc_join()
1099 &bss_desc->phy_param_set, in mwifiex_cmd_802_11_ad_hoc_join()
1103 &bss_desc->ss_param_set, sizeof(union ieee_types_ss_param_set)); in mwifiex_cmd_802_11_ad_hoc_join()
1105 tmp_cap = bss_desc->cap_info_bitmap; in mwifiex_cmd_802_11_ad_hoc_join()
1119 bss_desc->supported_rates[i]; i++) in mwifiex_cmd_802_11_ad_hoc_join()
1127 bss_desc->supported_rates, rates_size); in mwifiex_cmd_802_11_ad_hoc_join()
1131 memcpy(&priv->curr_bss_params.data_rates, bss_desc->supported_rates, in mwifiex_cmd_802_11_ad_hoc_join()
1135 priv->curr_bss_params.bss_descriptor.channel = bss_desc->channel; in mwifiex_cmd_802_11_ad_hoc_join()
1136 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_cmd_802_11_ad_hoc_join()
1151 (bss_desc->phy_param_set.ds_param_set.current_chan); in mwifiex_cmd_802_11_ad_hoc_join()
1156 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_802_11_ad_hoc_join()
1174 bss_desc, &pos); in mwifiex_cmd_802_11_ad_hoc_join()
1203 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_ret_802_11_ad_hoc() local
1208 bss_desc = priv->attempted_bss_desc; in mwifiex_ret_802_11_ad_hoc()
1229 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc()
1232 memcpy(bss_desc->mac_address, in mwifiex_ret_802_11_ad_hoc()
1242 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc()
1250 bss_desc, sizeof(struct mwifiex_bssdescriptor)); in mwifiex_ret_802_11_ad_hoc()
1287 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_associate() argument
1293 (bss_desc->bss_mode != NL80211_IFTYPE_STATION)) in mwifiex_associate()
1297 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_associate()
1308 HostCmd_ACT_GEN_SET, 0, bss_desc, true); in mwifiex_associate()
1344 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_adhoc_join() argument
1351 bss_desc->ssid.ssid); in mwifiex_adhoc_join()
1353 bss_desc->ssid.ssid_len); in mwifiex_adhoc_join()
1357 !mwifiex_ssid_cmp(&bss_desc->ssid, in mwifiex_adhoc_join()
1367 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_adhoc_join()
1379 HostCmd_ACT_GEN_SET, 0, bss_desc, true); in mwifiex_adhoc_join()