Search Linux Wireless

Re: hostapd with mac80211 progress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-03-03 at 10:52 +0100, Johannes Berg wrote:
> That's rather odd. ieee80211_channel_flags and HOSTAPD_CHAN_W_xx need
> not be compatible because in driver_nl80211.c, phy_info_handler(),
> they're translated into each other. What exactly is your setup?

Well, it (HOSTAPD_CHAN_W_SCAN) was removed somewhere after
driver_nl80211.c set it. I think it's a hostapd bug. Please take a look
at the hostapd_get_hw_features() function:


if ((feature->mode == HOSTAPD_MODE_IEEE80211G ||
     feature->mode == HOSTAPD_MODE_IEEE80211B) &&
    feature->channels[j].chan >= 1 &&
    feature->channels[j].chan <= 11) {
        power_level = 20;
        feature->channels[j].flag |=
                HOSTAPD_CHAN_W_SCAN;
} else
        feature->channels[j].flag &=
              ~HOSTAPD_CHAN_W_SCAN;


Apparently, A channels all have this flag removed. What does this flag
stand for? I assume it stands for passive scan, right?

Thanks,
-yi

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux