wireless: fixup genregdb.awk for remove of antenna gain from wireless-regd
authorLuis R. Rodriguez <mcgrof@suse.com>
Mon, 14 Jul 2014 21:19:49 +0000 (14:19 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 21 Jul 2014 10:24:20 +0000 (12:24 +0200)
commitfa96aabb6a34eeb86ce6a5e1a3914fe9f106cfcc
tree7d4bab9430154a8db5115cc62217e023844fe011
parent3e2a0226c624066943259eaa5e1261da9d8a25fc
wireless: fixup genregdb.awk for remove of antenna gain from wireless-regd

Since "wireless-regdb: remove antenna gain" was merged in the
wireless-regdb tree, the awk script parser has been incompatible
with the 'official' regulatory database.  This fixes that up.
Without this change the max EIRP is set to 0 making 802.11 devices
useless.

The fragile nature of the awk parser must be replaced, but ideas
over how to do that in the most scalable way are being reviewed.
In the meantime update the documentation for CFG80211_INTERNAL_REGDB
so folks are aware of expectations for now.

Reported-by: John Walker <john@x109.net>
Reported-by: Krishna Chaitanya <chaitanya.mgit@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/Kconfig
net/wireless/genregdb.awk