qcacld-3.0: Make frequency range for pdev conditional

If 6 GHZ channel are enabled; then frequency range needs to be different.
Add new frequency limit if 6 GHz channels are enabled.

Change-Id: Ic8133468d3d6c6c7f7da2e6efb8662d930f69872
CRs-Fixed: 2520198
This commit is contained in:
Amar Singhal 2019-09-03 12:33:56 -07:00 • committed by nshrivas
commit 73ec93e73f

View file

@ -30,7 +30,12 @@
#define LOW_2GHZ_FREQ 2312
#define HIGH_2GHZ_FREQ 2732
#define LOW_5GHZ_FREQ 4912
#define HIGH_5GHZ_FREQ 6100
#ifdef CONFIG_BAND_6GHZ
#define HIGH_5GHZ_FREQ 7200
#else
#define HIGH_5GHZ_FREQ 5930
#endif
static void hdd_init_pdev_os_priv(struct hdd_context *hdd_ctx,
struct pdev_osif_priv *os_priv)