bss_cfg 283 drivers/net/wireless/marvell/mwifiex/11h.c struct mwifiex_uap_bss_param *bss_cfg; bss_cfg 289 drivers/net/wireless/marvell/mwifiex/11h.c bss_cfg = &priv->bss_cfg; bss_cfg 290 drivers/net/wireless/marvell/mwifiex/11h.c if (!bss_cfg->beacon_period) { bss_cfg 296 drivers/net/wireless/marvell/mwifiex/11h.c mwifiex_uap_set_channel(priv, bss_cfg, priv->dfs_chandef); bss_cfg 298 drivers/net/wireless/marvell/mwifiex/11h.c if (mwifiex_config_start_uap(priv, bss_cfg)) { bss_cfg 727 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_uap_bss_param *bss_cfg; bss_cfg 740 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg = kzalloc(sizeof(*bss_cfg), GFP_KERNEL); bss_cfg 741 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!bss_cfg) bss_cfg 744 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_sys_config_invalid_data(bss_cfg); bss_cfg 747 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->rts_threshold = wiphy->rts_threshold; bss_cfg 749 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->frag_threshold = wiphy->frag_threshold; bss_cfg 751 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->retry_limit = wiphy->retry_long; bss_cfg 755 drivers/net/wireless/marvell/mwifiex/cfg80211.c UAP_BSS_PARAMS_I, bss_cfg, bss_cfg 758 drivers/net/wireless/marvell/mwifiex/cfg80211.c kfree(bss_cfg); bss_cfg 1955 drivers/net/wireless/marvell/mwifiex/cfg80211.c memset(&priv->bss_cfg, 0, sizeof(priv->bss_cfg)); bss_cfg 1987 drivers/net/wireless/marvell/mwifiex/cfg80211.c struct mwifiex_uap_bss_param *bss_cfg; bss_cfg 1993 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg = kzalloc(sizeof(struct mwifiex_uap_bss_param), GFP_KERNEL); bss_cfg 1994 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (!bss_cfg) bss_cfg 1997 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_sys_config_invalid_data(bss_cfg); bss_cfg 2000 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->beacon_period = params->beacon_interval; bss_cfg 2002 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->dtim_period = params->dtim_period; bss_cfg 2005 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(bss_cfg->ssid.ssid, params->ssid, params->ssid_len); bss_cfg 2006 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->ssid.ssid_len = params->ssid_len; bss_cfg 2010 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->sta_ao_timer = 10 * params->inactivity_timeout; bss_cfg 2011 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->ps_sta_ao_timer = 10 * params->inactivity_timeout; bss_cfg 2016 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->bcast_ssid_ctl = 1; bss_cfg 2019 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->bcast_ssid_ctl = 0; bss_cfg 2022 drivers/net/wireless/marvell/mwifiex/cfg80211.c bss_cfg->bcast_ssid_ctl = 2; bss_cfg 2025 drivers/net/wireless/marvell/mwifiex/cfg80211.c kfree(bss_cfg); bss_cfg 2029 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_uap_set_channel(priv, bss_cfg, params->chandef); bss_cfg 2030 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_uap_rates(bss_cfg, params); bss_cfg 2032 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (mwifiex_set_secure_params(priv, bss_cfg, params)) { bss_cfg 2038 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_ht_params(priv, bss_cfg, params); bss_cfg 2041 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_vht_params(priv, bss_cfg, params); bss_cfg 2051 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_wmm_params(priv, bss_cfg, params); bss_cfg 2054 drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_set_tpc_params(priv, bss_cfg, params); bss_cfg 2071 drivers/net/wireless/marvell/mwifiex/cfg80211.c if (mwifiex_config_start_uap(priv, bss_cfg)) { bss_cfg 2084 drivers/net/wireless/marvell/mwifiex/cfg80211.c memcpy(&priv->bss_cfg, bss_cfg, sizeof(priv->bss_cfg)); bss_cfg 2085 drivers/net/wireless/marvell/mwifiex/cfg80211.c kfree(bss_cfg); bss_cfg 2089 drivers/net/wireless/marvell/mwifiex/cfg80211.c kfree(bss_cfg); bss_cfg 3984 drivers/net/wireless/marvell/mwifiex/cfg80211.c chsw_msec = max(channel_sw->count * priv->bss_cfg.beacon_period, 100); bss_cfg 678 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param bss_cfg; bss_cfg 1227 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 1230 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 1233 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 1235 drivers/net/wireless/marvell/mwifiex/main.h void mwifiex_set_uap_rates(struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 1242 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 1580 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 1583 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_uap_bss_param *bss_cfg); bss_cfg 159 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 170 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&bss_cfg->ht_cap, ht_ie + 2, bss_cfg 174 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memset(&bss_cfg->ht_cap, 0, sizeof(struct ieee80211_ht_cap)); bss_cfg 175 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); bss_cfg 176 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ht_cap.ampdu_params_info = MWIFIEX_DEF_AMPDU; bss_cfg 186 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 194 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&bss_cfg->vht_cap, vht_ie + 2, bss_cfg 208 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 216 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->power_constraint = *(tpc_ie + 2); bss_cfg 218 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->power_constraint = 0; bss_cfg 257 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_set_uap_rates(struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 270 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(bss_cfg->rates, rate_ie + 1, rate_ie->len); bss_cfg 280 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(bss_cfg->rates + rate_len, rate_ie + 1, rate_ie->len); bss_cfg 314 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg = cmd_buf; bss_cfg 322 drivers/net/wireless/marvell/mwifiex/uap_cmd.c tlv_akmp->key_mgmt_operation = cpu_to_le16(bss_cfg->key_mgmt_operation); bss_cfg 323 drivers/net/wireless/marvell/mwifiex/uap_cmd.c tlv_akmp->key_mgmt = cpu_to_le16(bss_cfg->key_mgmt); bss_cfg 327 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->wpa_cfg.pairwise_cipher_wpa & VALID_CIPHER_BITMAP) { bss_cfg 334 drivers/net/wireless/marvell/mwifiex/uap_cmd.c pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa; bss_cfg 339 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->wpa_cfg.pairwise_cipher_wpa2 & VALID_CIPHER_BITMAP) { bss_cfg 346 drivers/net/wireless/marvell/mwifiex/uap_cmd.c pwk_cipher->cipher = bss_cfg->wpa_cfg.pairwise_cipher_wpa2; bss_cfg 351 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->wpa_cfg.group_cipher & VALID_CIPHER_BITMAP) { bss_cfg 357 drivers/net/wireless/marvell/mwifiex/uap_cmd.c gwk_cipher->cipher = bss_cfg->wpa_cfg.group_cipher; bss_cfg 362 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->wpa_cfg.length) { bss_cfg 366 drivers/net/wireless/marvell/mwifiex/uap_cmd.c passphrase->header.len = cpu_to_le16(bss_cfg->wpa_cfg.length); bss_cfg 367 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(passphrase->passphrase, bss_cfg->wpa_cfg.passphrase, bss_cfg 368 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wpa_cfg.length); bss_cfg 370 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wpa_cfg.length; bss_cfg 372 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wpa_cfg.length; bss_cfg 386 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 401 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&bss_cfg->wmm_info, wmm_ie + bss_cfg 405 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memset(&bss_cfg->wmm_info, 0, sizeof(bss_cfg->wmm_info)); bss_cfg 406 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&bss_cfg->wmm_info.oui, wmm_oui, sizeof(wmm_oui)); bss_cfg 407 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wmm_info.subtype = MWIFIEX_WMM_SUBTYPE; bss_cfg 408 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wmm_info.version = MWIFIEX_WMM_VERSION; bss_cfg 412 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->qos_info = 0x00; bss_cfg 426 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg = cmd_buf; bss_cfg 429 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->wep_cfg[i].length && bss_cfg 430 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->wep_cfg[i].length == WLAN_KEY_LEN_WEP40 || bss_cfg 431 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wep_cfg[i].length == WLAN_KEY_LEN_WEP104)) { bss_cfg 436 drivers/net/wireless/marvell/mwifiex/uap_cmd.c cpu_to_le16(bss_cfg->wep_cfg[i].length + 2); bss_cfg 437 drivers/net/wireless/marvell/mwifiex/uap_cmd.c wep_key->key_index = bss_cfg->wep_cfg[i].key_index; bss_cfg 438 drivers/net/wireless/marvell/mwifiex/uap_cmd.c wep_key->is_default = bss_cfg->wep_cfg[i].is_default; bss_cfg 439 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(wep_key->key, bss_cfg->wep_cfg[i].key, bss_cfg 440 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wep_cfg[i].length); bss_cfg 442 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wep_cfg[i].length; bss_cfg 444 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->wep_cfg[i].length; bss_cfg 497 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg = cmd_buf; bss_cfg 501 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->ssid.ssid_len) { bss_cfg 504 drivers/net/wireless/marvell/mwifiex/uap_cmd.c ssid->header.len = cpu_to_le16((u16)bss_cfg->ssid.ssid_len); bss_cfg 505 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(ssid->ssid, bss_cfg->ssid.ssid, bss_cfg->ssid.ssid_len); bss_cfg 507 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ssid.ssid_len; bss_cfg 509 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ssid.ssid_len; bss_cfg 515 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bcast_ssid->bcast_ctl = bss_cfg->bcast_ssid_ctl; bss_cfg 519 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->rates[0]) { bss_cfg 523 drivers/net/wireless/marvell/mwifiex/uap_cmd.c for (i = 0; i < MWIFIEX_SUPPORTED_RATES && bss_cfg->rates[i]; bss_cfg 525 drivers/net/wireless/marvell/mwifiex/uap_cmd.c tlv_rates->rates[i] = bss_cfg->rates[i]; bss_cfg 531 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->channel && bss_cfg 532 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (((bss_cfg->band_cfg & BIT(0)) == BAND_CONFIG_BG && bss_cfg 533 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->channel <= MAX_CHANNEL_BAND_BG) || bss_cfg 534 drivers/net/wireless/marvell/mwifiex/uap_cmd.c ((bss_cfg->band_cfg & BIT(0)) == BAND_CONFIG_A && bss_cfg 535 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->channel <= MAX_CHANNEL_BAND_A))) { bss_cfg 541 drivers/net/wireless/marvell/mwifiex/uap_cmd.c chan_band->band_config = bss_cfg->band_cfg; bss_cfg 542 drivers/net/wireless/marvell/mwifiex/uap_cmd.c chan_band->channel = bss_cfg->channel; bss_cfg 546 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->beacon_period >= MIN_BEACON_PERIOD && bss_cfg 547 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->beacon_period <= MAX_BEACON_PERIOD) { bss_cfg 554 drivers/net/wireless/marvell/mwifiex/uap_cmd.c beacon_period->period = cpu_to_le16(bss_cfg->beacon_period); bss_cfg 558 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->dtim_period >= MIN_DTIM_PERIOD && bss_cfg 559 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->dtim_period <= MAX_DTIM_PERIOD) { bss_cfg 566 drivers/net/wireless/marvell/mwifiex/uap_cmd.c dtim_period->period = bss_cfg->dtim_period; bss_cfg 570 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->rts_threshold <= MWIFIEX_RTS_MAX_VALUE) { bss_cfg 577 drivers/net/wireless/marvell/mwifiex/uap_cmd.c rts_threshold->rts_thr = cpu_to_le16(bss_cfg->rts_threshold); bss_cfg 581 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if ((bss_cfg->frag_threshold >= MWIFIEX_FRAG_MIN_VALUE) && bss_cfg 582 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->frag_threshold <= MWIFIEX_FRAG_MAX_VALUE)) { bss_cfg 589 drivers/net/wireless/marvell/mwifiex/uap_cmd.c frag_threshold->frag_thr = cpu_to_le16(bss_cfg->frag_threshold); bss_cfg 593 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->retry_limit <= MWIFIEX_RETRY_LIMIT) { bss_cfg 600 drivers/net/wireless/marvell/mwifiex/uap_cmd.c retry_limit->limit = (u8)bss_cfg->retry_limit; bss_cfg 604 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if ((bss_cfg->protocol & PROTOCOL_WPA) || bss_cfg 605 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->protocol & PROTOCOL_WPA2) || bss_cfg 606 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->protocol & PROTOCOL_EAP)) bss_cfg 611 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || bss_cfg 612 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { bss_cfg 618 drivers/net/wireless/marvell/mwifiex/uap_cmd.c auth_type->auth_type = (u8)bss_cfg->auth_mode; bss_cfg 622 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->protocol) { bss_cfg 629 drivers/net/wireless/marvell/mwifiex/uap_cmd.c encrypt_protocol->proto = cpu_to_le16(bss_cfg->protocol); bss_cfg 634 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->ht_cap.cap_info) { bss_cfg 639 drivers/net/wireless/marvell/mwifiex/uap_cmd.c htcap->ht_cap.cap_info = bss_cfg->ht_cap.cap_info; bss_cfg 641 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ht_cap.ampdu_params_info; bss_cfg 642 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&htcap->ht_cap.mcs, &bss_cfg->ht_cap.mcs, bss_cfg 645 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ht_cap.extended_ht_cap_info; bss_cfg 646 drivers/net/wireless/marvell/mwifiex/uap_cmd.c htcap->ht_cap.tx_BF_cap_info = bss_cfg->ht_cap.tx_BF_cap_info; bss_cfg 648 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->ht_cap.antenna_selection_info; bss_cfg 653 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->wmm_info.qos_info != 0xFF) { bss_cfg 657 drivers/net/wireless/marvell/mwifiex/uap_cmd.c memcpy(&wmm_cap->wmm_info, &bss_cfg->wmm_info, bss_cfg 663 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->sta_ao_timer) { bss_cfg 668 drivers/net/wireless/marvell/mwifiex/uap_cmd.c ao_timer->sta_ao_timer = cpu_to_le32(bss_cfg->sta_ao_timer); bss_cfg 673 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->power_constraint) { bss_cfg 677 drivers/net/wireless/marvell/mwifiex/uap_cmd.c pwr_ct->constraint = bss_cfg->power_constraint; bss_cfg 682 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->ps_sta_ao_timer) { bss_cfg 689 drivers/net/wireless/marvell/mwifiex/uap_cmd.c cpu_to_le32(bss_cfg->ps_sta_ao_timer); bss_cfg 816 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg, bss_cfg 823 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->channel = ieee80211_frequency_to_channel( bss_cfg 828 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->band_cfg = BAND_CONFIG_BG; bss_cfg 834 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->band_cfg = BAND_CONFIG_A; bss_cfg 852 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->band_cfg |= MWIFIEX_SEC_CHAN_BELOW; bss_cfg 854 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->band_cfg |= MWIFIEX_SEC_CHAN_ABOVE; bss_cfg 859 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_cfg->band_cfg |= bss_cfg 860 drivers/net/wireless/marvell/mwifiex/uap_cmd.c mwifiex_get_sec_chan_offset(bss_cfg->channel) << 4; bss_cfg 878 drivers/net/wireless/marvell/mwifiex/uap_cmd.c struct mwifiex_uap_bss_param *bss_cfg) bss_cfg 882 drivers/net/wireless/marvell/mwifiex/uap_cmd.c UAP_BSS_PARAMS_I, bss_cfg, true)) {