Lines Matching refs:mlme_priv

403 	struct mlme_legacy_priv *mlme_priv;  in wlan_mlme_set_ap_policy()  local
405 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_set_ap_policy()
406 if (!mlme_priv) { in wlan_mlme_set_ap_policy()
411 mlme_priv->mlme_ap.ap_policy = ap_cfg_policy; in wlan_mlme_set_ap_policy()
412 mlme_debug("Set ap_cfg_policy to :%d", mlme_priv->mlme_ap.ap_policy); in wlan_mlme_set_ap_policy()
420 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_get_ap_policy() local
422 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_get_ap_policy()
423 if (!mlme_priv) { in wlan_mlme_get_ap_policy()
428 mlme_debug("Get ap_cfg_policy to :%d", mlme_priv->mlme_ap.ap_policy); in wlan_mlme_get_ap_policy()
430 return mlme_priv->mlme_ap.ap_policy; in wlan_mlme_get_ap_policy()
5236 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_set_sae_single_pmk_bss_cap() local
5247 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_set_sae_single_pmk_bss_cap()
5248 if (!mlme_priv) { in wlan_mlme_set_sae_single_pmk_bss_cap()
5254 mlme_priv->mlme_roam.sae_single_pmk.sae_single_pmk_ap = val; in wlan_mlme_set_sae_single_pmk_bss_cap()
5262 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_update_sae_single_pmk() local
5266 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_update_sae_single_pmk()
5267 if (!mlme_priv) { in wlan_mlme_update_sae_single_pmk()
5283 mlme_priv->mlme_roam.sae_single_pmk.sae_single_pmk_ap, in wlan_mlme_update_sae_single_pmk()
5286 if (mlme_priv->mlme_roam.sae_single_pmk.sae_single_pmk_ap && in wlan_mlme_update_sae_single_pmk()
5288 mlme_priv->mlme_roam.sae_single_pmk.pmk_info = *sae_single_pmk; in wlan_mlme_update_sae_single_pmk()
5305 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_get_sae_single_pmk_info() local
5308 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_get_sae_single_pmk_info()
5309 if (!mlme_priv) { in wlan_mlme_get_sae_single_pmk_info()
5314 pmk_info = &mlme_priv->mlme_roam.sae_single_pmk.pmk_info; in wlan_mlme_get_sae_single_pmk_info()
5317 mlme_priv->mlme_roam.sae_single_pmk.sae_single_pmk_ap; in wlan_mlme_get_sae_single_pmk_info()
5335 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_clear_sae_single_pmk_info() local
5338 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_clear_sae_single_pmk_info()
5339 if (!mlme_priv) { in wlan_mlme_clear_sae_single_pmk_info()
5344 sae_single_pmk = &mlme_priv->mlme_roam.sae_single_pmk; in wlan_mlme_clear_sae_single_pmk_info()
6339 struct mlme_legacy_priv *mlme_priv; in mlme_get_opr_rate() local
6346 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_get_opr_rate()
6347 if (!mlme_priv) { in mlme_get_opr_rate()
6352 if (len < mlme_priv->opr_rate_set.len) { in mlme_get_opr_rate()
6354 mlme_priv->opr_rate_set.len); in mlme_get_opr_rate()
6358 qdf_mem_copy(dst, mlme_priv->opr_rate_set.data, in mlme_get_opr_rate()
6359 mlme_priv->opr_rate_set.len); in mlme_get_opr_rate()
6361 return mlme_priv->opr_rate_set.len; in mlme_get_opr_rate()
6367 struct mlme_legacy_priv *mlme_priv; in mlme_set_opr_rate() local
6374 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_set_opr_rate()
6375 if (!mlme_priv) { in mlme_set_opr_rate()
6380 if (len > mlme_priv->opr_rate_set.max_len) { in mlme_set_opr_rate()
6382 mlme_priv->opr_rate_set.max_len); in mlme_set_opr_rate()
6386 mlme_priv->opr_rate_set.len = len; in mlme_set_opr_rate()
6387 qdf_mem_copy(mlme_priv->opr_rate_set.data, src, len); in mlme_set_opr_rate()
6395 struct mlme_legacy_priv *mlme_priv; in mlme_get_ext_opr_rate() local
6402 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_get_ext_opr_rate()
6403 if (!mlme_priv) { in mlme_get_ext_opr_rate()
6408 if (len < mlme_priv->ext_opr_rate_set.len) { in mlme_get_ext_opr_rate()
6410 mlme_priv->ext_opr_rate_set.len); in mlme_get_ext_opr_rate()
6414 qdf_mem_copy(dst, mlme_priv->ext_opr_rate_set.data, in mlme_get_ext_opr_rate()
6415 mlme_priv->ext_opr_rate_set.len); in mlme_get_ext_opr_rate()
6417 return mlme_priv->ext_opr_rate_set.len; in mlme_get_ext_opr_rate()
6423 struct mlme_legacy_priv *mlme_priv; in mlme_set_ext_opr_rate() local
6430 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_set_ext_opr_rate()
6431 if (!mlme_priv) { in mlme_set_ext_opr_rate()
6436 if (len > mlme_priv->ext_opr_rate_set.max_len) { in mlme_set_ext_opr_rate()
6438 mlme_priv->ext_opr_rate_set.max_len); in mlme_set_ext_opr_rate()
6442 mlme_priv->ext_opr_rate_set.len = len; in mlme_set_ext_opr_rate()
6443 qdf_mem_copy(mlme_priv->ext_opr_rate_set.data, src, len); in mlme_set_ext_opr_rate()
6450 struct mlme_legacy_priv *mlme_priv; in mlme_clear_ext_opr_rate() local
6457 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_clear_ext_opr_rate()
6458 if (!mlme_priv) { in mlme_clear_ext_opr_rate()
6463 mlme_priv->ext_opr_rate_set.len = 0; in mlme_clear_ext_opr_rate()
6464 qdf_mem_set(mlme_priv->ext_opr_rate_set.data, CFG_STR_DATA_LEN, 0); in mlme_clear_ext_opr_rate()
6472 struct mlme_legacy_priv *mlme_priv; in mlme_get_mcs_rate() local
6479 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_get_mcs_rate()
6480 if (!mlme_priv) { in mlme_get_mcs_rate()
6485 if (len < mlme_priv->mcs_rate_set.len) { in mlme_get_mcs_rate()
6487 mlme_priv->mcs_rate_set.len); in mlme_get_mcs_rate()
6491 qdf_mem_copy(dst, mlme_priv->mcs_rate_set.data, in mlme_get_mcs_rate()
6492 mlme_priv->mcs_rate_set.len); in mlme_get_mcs_rate()
6494 return mlme_priv->mcs_rate_set.len; in mlme_get_mcs_rate()
6500 struct mlme_legacy_priv *mlme_priv; in mlme_set_mcs_rate() local
6507 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_set_mcs_rate()
6508 if (!mlme_priv) { in mlme_set_mcs_rate()
6513 if (len > mlme_priv->mcs_rate_set.max_len) { in mlme_set_mcs_rate()
6515 mlme_priv->mcs_rate_set.max_len); in mlme_set_mcs_rate()
6519 mlme_priv->mcs_rate_set.len = len; in mlme_set_mcs_rate()
6520 qdf_mem_copy(mlme_priv->mcs_rate_set.data, src, len); in mlme_set_mcs_rate()
6527 struct mlme_legacy_priv *mlme_priv; in mlme_clear_mcs_rate() local
6534 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_clear_mcs_rate()
6535 if (!mlme_priv) { in mlme_clear_mcs_rate()
6540 mlme_priv->mcs_rate_set.len = 0; in mlme_clear_mcs_rate()
6541 qdf_mem_set(mlme_priv->mcs_rate_set.data, CFG_STR_DATA_LEN, 0); in mlme_clear_mcs_rate()
6637 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_set_ba_2k_jump_iot_ap() local
6639 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_set_ba_2k_jump_iot_ap()
6640 if (!mlme_priv) { in wlan_mlme_set_ba_2k_jump_iot_ap()
6645 mlme_priv->ba_2k_jump_iot_ap = found; in wlan_mlme_set_ba_2k_jump_iot_ap()
6652 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_is_ba_2k_jump_iot_ap() local
6654 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_is_ba_2k_jump_iot_ap()
6655 if (!mlme_priv) { in wlan_mlme_is_ba_2k_jump_iot_ap()
6660 return mlme_priv->ba_2k_jump_iot_ap; in wlan_mlme_is_ba_2k_jump_iot_ap()
6667 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_set_last_delba_sent_time() local
6669 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_set_last_delba_sent_time()
6670 if (!mlme_priv) { in wlan_mlme_set_last_delba_sent_time()
6675 mlme_priv->last_delba_sent_time = delba_sent_time; in wlan_mlme_set_last_delba_sent_time()
6683 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_get_last_delba_sent_time() local
6685 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_get_last_delba_sent_time()
6686 if (!mlme_priv) { in wlan_mlme_get_last_delba_sent_time()
6691 return mlme_priv->last_delba_sent_time; in wlan_mlme_get_last_delba_sent_time()
6698 struct mlme_legacy_priv *mlme_priv; in mlme_set_user_ps() local
6706 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_set_user_ps()
6707 if (mlme_priv) { in mlme_set_user_ps()
6708 mlme_priv->is_usr_ps_enabled = ps_enable; in mlme_set_user_ps()
6711 mlme_priv->is_usr_ps_enabled); in mlme_set_user_ps()
6722 struct mlme_legacy_priv *mlme_priv; in mlme_get_user_ps() local
6730 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_get_user_ps()
6731 if (mlme_priv) in mlme_get_user_ps()
6732 usr_ps_enable = mlme_priv->is_usr_ps_enabled; in mlme_get_user_ps()
7181 struct mlme_legacy_priv *mlme_priv; in mlme_save_vdev_max_mcs_idx() local
7188 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_save_vdev_max_mcs_idx()
7189 if (!mlme_priv) { in mlme_save_vdev_max_mcs_idx()
7194 mlme_priv->max_mcs_index = max_mcs_idx; in mlme_save_vdev_max_mcs_idx()
7201 struct mlme_legacy_priv *mlme_priv; in mlme_get_vdev_max_mcs_idx() local
7208 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in mlme_get_vdev_max_mcs_idx()
7209 if (!mlme_priv) { in mlme_get_vdev_max_mcs_idx()
7214 return mlme_priv->max_mcs_index; in mlme_get_vdev_max_mcs_idx()
7891 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_send_ch_width_update_with_notify() local
7894 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_send_ch_width_update_with_notify()
7895 if (!mlme_priv) in wlan_mlme_send_ch_width_update_with_notify()
7903 mlme_priv->connect_info.assoc_chan_info.omn_ie_ch_width; in wlan_mlme_send_ch_width_update_with_notify()
7911 mlme_priv->connect_info.assoc_chan_info.assoc_ch_width; in wlan_mlme_send_ch_width_update_with_notify()
7921 mlme_priv->connect_info.assoc_chan_info.sec_2g_freq) { in wlan_mlme_send_ch_width_update_with_notify()
7923 mlme_priv->connect_info.assoc_chan_info.sec_2g_freq; in wlan_mlme_send_ch_width_update_with_notify()
7927 mlme_priv->connect_info.assoc_chan_info.sec_2g_freq); in wlan_mlme_send_ch_width_update_with_notify()
8258 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_set_ap_oper_ch_width() local
8260 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_set_ap_oper_ch_width()
8261 if (!mlme_priv) { in wlan_mlme_set_ap_oper_ch_width()
8267 mlme_priv->mlme_ap.oper_ch_width = ch_width; in wlan_mlme_set_ap_oper_ch_width()
8269 mlme_priv->mlme_ap.oper_ch_width, wlan_vdev_get_id(vdev)); in wlan_mlme_set_ap_oper_ch_width()
8277 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_get_ap_oper_ch_width() local
8279 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_get_ap_oper_ch_width()
8280 if (!mlme_priv) { in wlan_mlme_get_ap_oper_ch_width()
8286 return mlme_priv->mlme_ap.oper_ch_width; in wlan_mlme_get_ap_oper_ch_width()
8412 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_set_keepalive_period() local
8414 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_set_keepalive_period()
8415 if (!mlme_priv) { in wlan_mlme_set_keepalive_period()
8420 mlme_priv->keep_alive_period = keep_alive_period; in wlan_mlme_set_keepalive_period()
8425 struct mlme_legacy_priv *mlme_priv; in wlan_mlme_get_keepalive_period() local
8427 mlme_priv = wlan_vdev_mlme_get_ext_hdl(vdev); in wlan_mlme_get_keepalive_period()
8428 if (!mlme_priv) { in wlan_mlme_get_keepalive_period()
8433 return mlme_priv->keep_alive_period; in wlan_mlme_get_keepalive_period()