Hi,
while testing the 802.11d implementation of cfg80211 i have below queries?
1) cfg80211 marks the channel as active after it receives a beacon on
that channel.
But shouldn't it check for the presence of country/TPC IE in the
beacon, update the info based on that and then mark the channel as
active? without the country/TPC IE how the DUT will know the txpower
rules allowed in that regulatory domain.
2) cfg80211 updates the regulatory domain only on connection. Till
that time it just marks the specific channel on which it found beacon
as active. But as per 802.11-2012 and generic use case the purpose of
passive scanning is to know the regulatory domain information and we
can always update it based on the first beacon received. (Practically
all beacons in the vicinity should advertise same RD, unless we are on
border :-)).
This should make fixing the #1 easy.
--
Thanks,
Regards,
Chaitanya T K.