mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Add sap_indicate_radar stub for DFS master disable
Add sap_indicate_radar for enable / disable DFS master feature Change-Id: I2b65213033fd6065ae8f1a38e927956410678daf CRs-Fixed: 2243754
This commit is contained in:
parent
c135114bad
commit
bf560c80fb
1 changed files with 7 additions and 0 deletions
|
|
@ -434,6 +434,7 @@ QDF_STATUS sap_clear_session_param(tHalHandle hal, struct sap_context *sapctx,
|
|||
void sap_scan_event_callback(struct wlan_objmgr_vdev *vdev,
|
||||
struct scan_event *event, void *arg);
|
||||
|
||||
#ifdef DFS_COMPONENT_ENABLE
|
||||
/**
|
||||
* sap_indicate_radar() - Process radar indication
|
||||
* @sap_ctx: pointer to sap context
|
||||
|
|
@ -443,6 +444,12 @@ void sap_scan_event_callback(struct wlan_objmgr_vdev *vdev,
|
|||
* Return: channel to which sap wishes to switch.
|
||||
*/
|
||||
uint8_t sap_indicate_radar(struct sap_context *sap_ctx);
|
||||
#else
|
||||
static inline uint8_t sap_indicate_radar(struct sap_context *sap_ctx)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* sap_select_default_oper_chan() - Select AP mode default operating channel
|
||||
|
|
|
|||
Loading…
Reference in a new issue