mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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:
parent
0aa2e6b4c1
commit
73ec93e73f
1 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue