msm: wlan: Squashed update of wifi regulatory database

msm: wlan: update db.txt for Taiwan

After pulling in regulatory information for Taiwan
from the compliance team the data for Taiwan was
inconsistent as it allowed 80MHz bandwidth for
frequency range which was less than 80MHz which was
resulting in failure to parse the regulatory rules
for Taiwan.

Change-Id: Ibfabf26c1481b37d163b755734491ba27b1a4195
CRs-Fixed: 582871
Signed-off-by: Mihir Shete <smihir@codeaurora.org>

msm: wlan: update db.txt

Update the db.txt with new information from regulatory compliance team.
This considers changes posted as on Nov 15th, 2013: Various country updates
and corrections

CRs-Fixed: 579446
Change-Id: Ief60fc89c7d7ef67744bf20ced9eb5e6ed060ea9
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>
Signed-off-by: Arif Hussain <arifhussain@codeaurora.org>

msm: wlan: update db.txt

Update the db.txt with support for channel 144 for US country code

CRs-Fixed: 599829
Change-Id: Ief1b534be297eb05bd28b0c93a8cc2df11a6722b
Signed-off-by: Tushnim Bhattacharyya <tushnimb@codeaurora.org>

msm: wlan: update db.txt

Update db.txt by removing AD & BL from the list as recomened by
QCA regulatory compliance team

CRs-Fixed: 608532
Change-Id: I7b32feb32235e84e94100ee3a0986de1faaef88f
Signed-off-by: Tushnim Bhattacharyya <tushnimb@codeaurora.org>

msm: wlan: db.txt: add channel144 entry for supporting
countries

Ch 144 can be enabled in many countries. Enable it all countries that
are mapped to FCC3, FCC6 and APL7 (5GHz) RDs.

Change-Id: I1e11883a8085a900684eadd8f7a6f8f442cae3fb
CRs-Fixed: 614319
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>

msm: wlan: db.txt: enable mid 5GHz channels of WORLD reg domain

Patch enables the mid 5GHz channels for passive scanning on
WORLD regulatory domain.

Change-Id: I0e5b2a04afaa39b94a05e072ec1979e7d9ca0d14
CRs-Fixed: 614247
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>

msm: wlan: db.txt: Set min of Tx power of AP/STA mode

Update US reg domain to pick the min of Tx power limit for db.txt
in case the entries are different for STA and SAP. So picking
23(AP) over 24(STA).

Change-Id: Id3be427e69b6e20a6a84f4f8291e4dbf53dea045
CRs-Fixed: 630538
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>

msm: wlan: update db.txt with new compliance information

Update the db.txt with new compliance information.

Change-Id: I9aacf72dba51b746546777808e5abbe808e98746
CRs-Fixed: 625165
Signed-off-by: Santhosh Kumar Padma <skpadma@codeaurora.org>

wlan: Correct db.txt for a set of countries.

Correct the channel list and tx power values for countries
with alpha2 IL, MX, ZA and TW.

Change-Id: I735a153ef1e87c1022f175ac360d675071d1ec2a
CRs-Fixed: 640859
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

cfg80211: change regulatory rules for Indonesia

Change regulatory rules for Indonesia as per the
directive from regulatory compliance team.

Change-Id: If25a3100a94492191b322310406ae9047bd6f4a2
CRs-Fixed: 637303
Signed-off-by: Mihir Shete <smihir@codeaurora.org>

msm: wlan: update db.txt

Update db.txt to correct below:
1) CC=AU, AR, CA, SAP should not be operational in channels 120/124/128
2) Set 23dBm as the Tx power for FCC6 regulatory domains.
3) SAP Regulatory - Saudi Arabia country code should map to ETSI1,
upper 5 GHz channels 149 to 165 are not supported
4) Remove entry for KP. Update KR to map to APL9_WORLD
5) for JP, make it compliant to MKK5_MKKA2

Change-Id: Ib17685afa42a0892ff0576f64e68b6725df14b2f
CRs-Fixed: 639177
Signed-off-by: Manjunathappa Prakash <prakashpm@codeaurora.org>

msm: wlan: update db.txt for SA

Update regulatory database for country Saudi Arabia. Correct the
tx-power for a set of 5 GHz channels

Change-Id: I793d9acdb04d003212876df0fc439927d8d870ca
CRs-Fixed: 656369
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

net: wlan: correct db.txt for KR

Correct the regulatory database entry for KR.

Change-Id: I6186d483a8d66369abb7a2970b94cdcc84fa8468
CRs-Fixed: 663320
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: update db.txt

FCC3 & FCC6 RDs increase UNII-1 Tx Powers  per 2014-5-31 R&O
Change FCC6 to match FCC3 Power

Change-Id: I88da603d1bb4a967d3289c29df1a2f35e4dc0cf3
CRs-Fixed: 661799
Signed-off-by: Tushnim Bhattacharyya <tushnimb@codeaurora.org>

msm: wlan: update db.txt

Add Chad = ETSI1_World
Add Guyana = APL1_ETSIC
Add Cte d'Ivoire = FCC3_World

Change-Id: I5958f71d31aff370efa65fe80653349b3f02c281
CRs-Fixed: 661799
Signed-off-by: Tushnim Bhattacharyya <tushnimb@codeaurora.org>

msm: wlan: update db.txt

Change Egypt HT/VHT40 Flag = Y
Change Haiti =  FCC3_FCCA
Change S. Africa = FCC3_World
Change Tunisia VHT80 & HT/VHT40 Flags = Y
Change Venezuela = FCC2_ETSIC and CTL group = FCC
Change Indonesia = APL2_ETSIC and CTL group = FCC
Change APL2 RD to increase Tx Power = 30dBm (for Indonesia)

Change-Id: I89c28881edd9e454be562ea059d499b494eb21d0
CRs-Fixed: 661799
Signed-off-by: Tushnim Bhattacharyya <tushnimb@codeaurora.org>

msm: wlan: correct db.txt for TW

Enable channel 165 for TW

Change-Id: I4e6a2c3d6506d1cb14f2f756f1310410f6f7d790
CRs-Fixed: 691872
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: correct db.txt for country code RU

Current usable band is 5725-5825. But for
channel 165 (freq 5825), when desired
bandwidth is 20MHz, the band fit in check
fails. This fix updates the start and end
frequency of this country based on the valid
channel list.

Change-Id: I8e09bb32676f94023a14c4b3a5c26dd3ae495af7
CRs-Fixed: 699088
Signed-off-by: Manishekar Chandrasekaran <cmshekar@codeaurora.org>

msm: wlan: Update US wifi database for TDWR channels

Update the US regulatory database for TDWR channels.
Also update the tx power of US DFS channels.

CRs-Fixed: 725496
Change-Id: Iceb30a61579dad0ea9325853b5aabc9ab23caa62
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: Update/Add countries to wifi database  db.txt.

Add countries AF, BT, BF, CF, CX, GH, MV, MR, FM, ME, PW, SN,
TZ, TG and VU to the wifi database. Correct entries for AS, BM,
BS, LB, MP, MN, MU, NI, PG and PY that conform to 5G domain FCC3.
Also correct entries for CZ, DE, ES, GF, GP, MC, MQ, MW, OM, PF
that conform to 5G domain ETSI1.

CRs-Fixed: 725522
Change-Id: I382de6927f6e52a350c2b69ab238941450daa7b9
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: Add a set of countries to wifi database db.txt.

Add countries DM, MD, KN, LC, TC, LS, BL, AI, MF, PM, VC
and WF. to wifi database db.txt. Also correct the entry for
KR.

Change-Id: Ia48ae98733edca1314be692dd77c9cc9b7ca4935
CRs-Fixed: 725522
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: Update db.txt for 2 countries

Update db.txt for Bolivia and Marshall Islands. Also update
tx power for FCCA countries. Also correct the entry for JP
to not use 160 MHz.

CRs-Fixed: 725522
Change-Id: I9c1bdddfa13f84239b94ac2329f5fdf0bbf64972
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: Correct wifi database for a set of countries.

Correct wifi database for AE, AL, AR, AT, AU, AW, BD, BG, BN,
BR, CA, CF, CI, CO, CR and CX.

Change-Id: I76d739ce6501c06772f64e484f5e4dd30b00a2ba
CRs-Fixed: 725522
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>

msm: wlan: Correct db.txt entries

Update db.txt for countries PR, PW, RE, RS, RU, RW, SA,
SN, SR, TW, TD, TH, TT, UA, UG, PS, UY, UZ, VE, VN, VI,
VU, WS, YT, ZW

Change-Id: If92fcc4b27f944cd4b1338df1199c38340607d5f
CRs-Fixed: 725522
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
Merge branch 'cm-11.0' into kk_mkt