diff options
| author | Manikandan Mohan <manikand@qti.qualcomm.com> | 2014-06-13 15:29:33 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-06-27 23:16:21 -0700 |
| commit | ee33e025adbad8c7653265fec60d4e170679970b (patch) | |
| tree | 747d77d4b062ca0468d53ad5fa1a05e954314415 | |
| parent | 7bf95177a0c1cb9cbe634ce5c500669f04fcd58b (diff) | |
CLD: Fix MCC to SCC switch for subset interference
MCC to SCC switch logic did not consider external AP operating
within SAP BW with different center frequency. Update the logic
to handle this case. Also update for border freq overlapping.
Change-Id: I80577bc9a2b4570197d39cd88a397c45c25e5637
CRs-fixed: 674064, 676194
| -rw-r--r-- | CORE/SME/src/csr/csrUtil.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CORE/SME/src/csr/csrUtil.c b/CORE/SME/src/csr/csrUtil.c index 467ada62325c..873e1f8f8ef7 100644 --- a/CORE/SME/src/csr/csrUtil.c +++ b/CORE/SME/src/csr/csrUtil.c @@ -1680,8 +1680,12 @@ v_U16_t csrCheckConcurrentChannelOverlap(tpAniSirGlobal pMac, v_U16_t sap_ch, vos_freq_to_chan(intf_cfreq), intf_cfreq, intf_hbw*2, intf_lfreq, intf_hfreq); - if ( !((sap_lfreq >= intf_lfreq && sap_lfreq <= intf_hfreq) - || (sap_hfreq >= intf_lfreq && sap_hfreq <= intf_hfreq)) ) { + if (!( + ((sap_lfreq > intf_lfreq && sap_lfreq < intf_hfreq) || + (sap_hfreq > intf_lfreq && sap_hfreq < intf_hfreq)) + || ((intf_lfreq > sap_lfreq && intf_lfreq < sap_hfreq) || + (intf_hfreq > sap_lfreq && intf_hfreq < sap_hfreq)) + )) { intf_ch = 0; } } |
