mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Code refine for SSDP and DTIM config
1) 'ssdp' in t_wma_handle structure is not used anymore, remove this redundant field. 2) ucfg_pmo_set_sta_mod_dtim and ucfg_pmo_get_sta_mod_dtim should have been accessing 'sta_mod_dtim' instead of 'sta_dynamic_dtim' in struct pmo_psoc_cfg. Change-Id: Iedd7bed1c9f637a819f97b6d8c687b784739dd62 CRs-Fixed: 2415087
This commit is contained in:
parent
7c0a23f682
commit
e1fc997982
3 changed files with 2 additions and 5 deletions
|
|
@ -624,7 +624,7 @@ ucfg_pmo_get_sta_mod_dtim(struct wlan_objmgr_psoc *psoc)
|
|||
{
|
||||
struct pmo_psoc_priv_obj *pmo_psoc_ctx = pmo_psoc_get_priv(psoc);
|
||||
|
||||
return pmo_psoc_ctx->psoc_cfg.sta_dynamic_dtim;
|
||||
return pmo_psoc_ctx->psoc_cfg.sta_mod_dtim;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -633,7 +633,7 @@ ucfg_pmo_set_sta_mod_dtim(struct wlan_objmgr_psoc *psoc,
|
|||
{
|
||||
struct pmo_psoc_priv_obj *pmo_psoc_ctx = pmo_psoc_get_priv(psoc);
|
||||
|
||||
pmo_psoc_ctx->psoc_cfg.sta_dynamic_dtim = val;
|
||||
pmo_psoc_ctx->psoc_cfg.sta_mod_dtim = val;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
|
|
@ -1018,7 +1018,6 @@ struct wma_wlm_stats_data {
|
|||
* @get_sta_peer_info: Is a "get peer info" request active?
|
||||
* @peer_macaddr: When @get_one_peer_info is true, the peer's mac address
|
||||
* @thermal_mgmt_info: Thermal mitigation related info
|
||||
* @ssdp: ssdp flag
|
||||
* @enable_mc_list: To Check if Multicast list filtering is enabled in FW
|
||||
* @ibss_started: is IBSS started or not
|
||||
* @ibsskey_info: IBSS key info
|
||||
|
|
@ -1155,7 +1154,6 @@ typedef struct {
|
|||
bool get_sta_peer_info;
|
||||
struct qdf_mac_addr peer_macaddr;
|
||||
t_thermal_mgmt thermal_mgmt_info;
|
||||
bool ssdp;
|
||||
bool enable_mc_list;
|
||||
uint8_t ibss_started;
|
||||
tSetBssKeyParams ibsskey_info;
|
||||
|
|
|
|||
|
|
@ -3349,7 +3349,6 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
|
|||
|
||||
wma_handle->max_station = cds_cfg->max_station;
|
||||
wma_handle->max_bssid = cds_cfg->max_bssid;
|
||||
wma_handle->ssdp = ucfg_pmo_is_ssdp_enabled(wma_handle->psoc);
|
||||
wma_handle->enable_mc_list =
|
||||
ucfg_pmo_is_mc_addr_list_enabled(wma_handle->psoc);
|
||||
wma_handle->active_uc_apf_mode =
|
||||
|
|
|
|||
Loading…
Reference in a new issue