qcacld-3.0: Optimize conditions to send CSA or ECSA
Today projects should all support all band channel switch. SAP option to send CSA or ECSA should not depend on whether operating on channel 2.4 GHz, but considering if client support Extended Channel Switch and whether 6 GHz channel involved as currently do. Enable CONFIG_CHANNEL_HOPPING_ALL_BANDS in default configure and remove checking 2.4 GHz channel condition. Change-Id: Ibd73ca2115f8f2183292f3ca82d29be4590951a1 CRs-Fixed: 3642763
This commit is contained in:

committed by
Ravindra Konda

parent
cf59788437
commit
79c20761dc
@@ -1446,9 +1446,7 @@ ifeq ($(CONFIG_ARCH_MDM9607), y)
|
||||
CONFIG_TUFELLO_DUAL_FW_SUPPORT := y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_MSM8996), y)
|
||||
CONFIG_CHANNEL_HOPPING_ALL_BANDS := y
|
||||
endif
|
||||
|
||||
ifeq (y, $(filter y, $(CONFIG_ARCH_SDXPRAIRIE) $(CONFIG_ARCH_SA515)))
|
||||
ifneq ($(CONFIG_SLUB_DEBUG), y)
|
||||
|
@@ -10040,6 +10040,7 @@ skip_vht:
|
||||
|
||||
/* Send ECSA/CSA Action frame after updating the beacon */
|
||||
if (CHAN_HOP_ALL_BANDS_ENABLE &&
|
||||
session_entry->lim_non_ecsa_cap_num &&
|
||||
!WLAN_REG_IS_6GHZ_CHAN_FREQ(target_ch_freq))
|
||||
lim_send_chan_switch_action_frame
|
||||
(mac_ctx,
|
||||
|
@@ -701,7 +701,6 @@ sch_set_fixed_beacon_fields(struct mac_context *mac_ctx, struct pe_session *sess
|
||||
}
|
||||
|
||||
if (session->lim_non_ecsa_cap_num &&
|
||||
WLAN_REG_IS_24GHZ_CH_FREQ(session->curr_op_freq) &&
|
||||
!is_6ghz_chsw)
|
||||
populate_channel_switch_ann(mac_ctx, bcn_2, session);
|
||||
}
|
||||
|
Reference in New Issue
Block a user