qcacmn: Have same rows orders for the channel enums and channel maps
In many functions, in the regulatory component
(e.g reg_modify_chan_list_for_freq_range), the channel enum iterations
assumes the channel enums and channel maps have the same order so that
there is a one-to-one mapping.
The change I5fe2c7a5db44f1cf8d6cb6317396c4527482137c removed
(compile-conditionally) a few channels. The removal violated the one-to-one
mapping principle. This led to 2Ghz channels being added to 5Ghz only
radio, which in turn caused many auto-channel selection issues and test
failures.
Instead of removing the channels, add (compile-conditionally) invalid
channels to maintain the one-to-one mapping.
Change-Id: I023de9732e02d52e544199b77680e9f7706d5210
CRs-Fixed: 2612990
1 file changed