Search Linux Wireless

cfg80211: questions regarding cfg80211_ibss_joined()

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

 



Hi !

I'm currently adding IBSS to libertas+cfg80211. Now I'd like
to get some clarifications:

a) when I create a new IBSS and i get a successful response to
   the CMD_802_11_AD_HOC_START firmware command, I need to tell
   this to cfg80211 somehow.

   cfg80211_ibss_joined() seems appropriate, but "iw event"
   doesn't show anything. Is this a short-coming or an indication
   of an error on my side?  Also, "iw wlan info" or "iw wlan link"
   doesn't show me anything at all.

b) the docs to cfg80211_ibss_joined() says that I need to call
   cfg80211_inform_bss() "with the locally generated beacon". I don't
   have any idea which beacon my firmware generates, so I guess I
   need to fake some beacon data. Correct?  Which IEs should I add?

c) cfg80211_inform_bss() has a field "signal". However, when I
   ask my firmware to start beacon, then I don't really have any
   signal level. If I add "0", then "iw wlan0 scan dump" shows me
   this as a signal:

   BSS 02:24:54:25:0f:24 (on wlan0)
        freq: 2412
        beacon interval: 100
        capability: IBSS (0x0002)
        signal: 0.00 dBm
        last seen: 6184 ms ago

d) And finally, for "u64 timestamp", is it okay to just submit
   a zero here?

-- 
http://www.holgerschurig.de
--
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