|
@@ -201,6 +201,7 @@ QDF_STATUS policy_mgr_change_mcc_go_beacon_interval(
|
|
|
* @vdev_id: Vdev id
|
|
|
* @channel: Channel to change
|
|
|
* @ch_width: channel width to change
|
|
|
+ * @forced: Force to switch channel, ignore SCC/MCC check
|
|
|
*
|
|
|
* Invoke the callback function to change SAP channel using (E)CSA
|
|
|
*
|
|
@@ -209,12 +210,14 @@ QDF_STATUS policy_mgr_change_mcc_go_beacon_interval(
|
|
|
void policy_mgr_change_sap_channel_with_csa(
|
|
|
struct wlan_objmgr_psoc *psoc,
|
|
|
uint8_t vdev_id, uint32_t channel,
|
|
|
- uint32_t ch_width);
|
|
|
+ uint32_t ch_width,
|
|
|
+ bool forced);
|
|
|
#else
|
|
|
static inline void policy_mgr_change_sap_channel_with_csa(
|
|
|
struct wlan_objmgr_psoc *psoc,
|
|
|
uint8_t vdev_id, uint32_t channel,
|
|
|
- uint32_t ch_width)
|
|
|
+ uint32_t ch_width,
|
|
|
+ bool forced)
|
|
|
{
|
|
|
|
|
|
}
|
|
@@ -809,7 +812,8 @@ struct policy_mgr_sme_cbacks {
|
|
|
struct policy_mgr_hdd_cbacks {
|
|
|
void (*sap_restart_chan_switch_cb)(struct wlan_objmgr_psoc *psoc,
|
|
|
uint8_t vdev_id, uint32_t channel,
|
|
|
- uint32_t channel_bw);
|
|
|
+ uint32_t channel_bw,
|
|
|
+ bool forced);
|
|
|
QDF_STATUS (*wlan_hdd_get_channel_for_sap_restart)(
|
|
|
struct wlan_objmgr_psoc *psoc,
|
|
|
uint8_t vdev_id, uint8_t *channel,
|