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()
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()
427 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate()
428 memcpy(ssid_tlv->ssid, bss_desc->ssid.ssid, in mwifiex_cmd_802_11_associate()
436 &bss_desc->phy_param_set.ds_param_set.current_chan, in mwifiex_cmd_802_11_associate()
447 (priv, bss_desc, rates, &rates_size)) in mwifiex_cmd_802_11_associate()
477 (!bss_desc->disable_11n) && in mwifiex_cmd_802_11_associate()
480 (bss_desc->bcn_ht_cap) in mwifiex_cmd_802_11_associate()
493 (bss_desc->phy_param_set.ds_param_set.current_chan); in mwifiex_cmd_802_11_associate()
498 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_802_11_associate()
515 (!bss_desc->disable_11n) && in mwifiex_cmd_802_11_associate()
518 mwifiex_cmd_append_11n_tlv(priv, bss_desc, &pos); in mwifiex_cmd_802_11_associate()
521 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_cmd_802_11_associate()
523 mwifiex_cmd_append_11ac_tlv(priv, bss_desc, &pos); in mwifiex_cmd_802_11_associate()
528 mwifiex_wmm_process_association_req(priv, &pos, &bss_desc->wmm_ie, in mwifiex_cmd_802_11_associate()
529 bss_desc->bcn_ht_cap); in mwifiex_cmd_802_11_associate()
538 mwifiex_cmd_append_tsf_tlv(priv, &pos, bss_desc); in mwifiex_cmd_802_11_associate()
540 mwifiex_11h_process_join(priv, &pos, bss_desc); in mwifiex_cmd_802_11_associate()
545 tmp_cap = bss_desc->cap_info_bitmap; in mwifiex_cmd_802_11_associate()
644 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_ret_802_11_associate() local
703 bss_desc = priv->attempted_bss_desc; in mwifiex_ret_802_11_associate()
706 bss_desc->ssid.ssid); in mwifiex_ret_802_11_associate()
710 bss_desc, sizeof(struct mwifiex_bssdescriptor)); in mwifiex_ret_802_11_associate()
714 = bss_desc->phy_param_set.ds_param_set.current_chan; in mwifiex_ret_802_11_associate()
716 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_ret_802_11_associate()
718 if (bss_desc->wmm_ie.vend_hdr.element_id == WLAN_EID_VENDOR_SPECIFIC) in mwifiex_ret_802_11_associate()
723 if ((priv->wmm_required || bss_desc->bcn_ht_cap) && in mwifiex_ret_802_11_associate()
733 = ((bss_desc->wmm_ie.qos_info_bitmap & in mwifiex_ret_802_11_associate()
828 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_cmd_802_11_ad_hoc_start() local
845 bss_desc = &priv->curr_bss_params.bss_descriptor; in mwifiex_cmd_802_11_ad_hoc_start()
846 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_ad_hoc_start()
865 memset(bss_desc->ssid.ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start()
866 memcpy(bss_desc->ssid.ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start()
868 bss_desc->ssid.ssid_len = req_ssid->ssid_len; in mwifiex_cmd_802_11_ad_hoc_start()
872 bss_desc->bss_mode = NL80211_IFTYPE_ADHOC; in mwifiex_cmd_802_11_ad_hoc_start()
874 bss_desc->beacon_period = priv->beacon_period; in mwifiex_cmd_802_11_ad_hoc_start()
907 bss_desc->channel = priv->adhoc_channel; in mwifiex_cmd_802_11_ad_hoc_start()
911 memcpy(&bss_desc->phy_param_set, &adhoc_start->phy_param_set, in mwifiex_cmd_802_11_ad_hoc_start()
924 memcpy(&bss_desc->ss_param_set, &adhoc_start->ss_param_set, in mwifiex_cmd_802_11_ad_hoc_start()
928 bss_desc->cap_info_bitmap |= WLAN_CAPABILITY_IBSS; in mwifiex_cmd_802_11_ad_hoc_start()
936 bss_desc->privacy = MWIFIEX_802_11_PRIV_FILTER_8021X_WEP; in mwifiex_cmd_802_11_ad_hoc_start()
942 bss_desc->privacy = MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL; in mwifiex_cmd_802_11_ad_hoc_start()
1100 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_802_11_ad_hoc_join() argument
1116 if (bss_desc->erp_flags & USE_G_PROTECTION) { in mwifiex_cmd_802_11_ad_hoc_join()
1130 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_ad_hoc_join()
1137 = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_ad_hoc_join()
1140 &bss_desc->mac_address, ETH_ALEN); in mwifiex_cmd_802_11_ad_hoc_join()
1143 &bss_desc->ssid.ssid, bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_ad_hoc_join()
1146 &bss_desc->phy_param_set, in mwifiex_cmd_802_11_ad_hoc_join()
1150 &bss_desc->ss_param_set, sizeof(union ieee_types_ss_param_set)); in mwifiex_cmd_802_11_ad_hoc_join()
1152 tmp_cap = bss_desc->cap_info_bitmap; in mwifiex_cmd_802_11_ad_hoc_join()
1167 bss_desc->supported_rates[i]; i++) in mwifiex_cmd_802_11_ad_hoc_join()
1175 bss_desc->supported_rates, rates_size); in mwifiex_cmd_802_11_ad_hoc_join()
1179 memcpy(&priv->curr_bss_params.data_rates, bss_desc->supported_rates, in mwifiex_cmd_802_11_ad_hoc_join()
1183 priv->curr_bss_params.bss_descriptor.channel = bss_desc->channel; in mwifiex_cmd_802_11_ad_hoc_join()
1184 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_cmd_802_11_ad_hoc_join()
1199 (bss_desc->phy_param_set.ds_param_set.current_chan); in mwifiex_cmd_802_11_ad_hoc_join()
1204 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_802_11_ad_hoc_join()
1222 bss_desc, &pos); in mwifiex_cmd_802_11_ad_hoc_join()
1251 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_ret_802_11_ad_hoc() local
1256 bss_desc = priv->attempted_bss_desc; in mwifiex_ret_802_11_ad_hoc()
1277 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc()
1280 memcpy(bss_desc->mac_address, in mwifiex_ret_802_11_ad_hoc()
1291 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc()
1299 bss_desc, sizeof(struct mwifiex_bssdescriptor)); in mwifiex_ret_802_11_ad_hoc()
1336 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_associate() argument
1342 (bss_desc->bss_mode != NL80211_IFTYPE_STATION)) in mwifiex_associate()
1346 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_associate()
1357 HostCmd_ACT_GEN_SET, 0, bss_desc, true); in mwifiex_associate()
1393 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_adhoc_join() argument
1402 bss_desc->ssid.ssid); in mwifiex_adhoc_join()
1404 bss_desc->ssid.ssid_len); in mwifiex_adhoc_join()
1408 !mwifiex_ssid_cmp(&bss_desc->ssid, in mwifiex_adhoc_join()
1419 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_adhoc_join()
1433 HostCmd_ACT_GEN_SET, 0, bss_desc, true); in mwifiex_adhoc_join()