d80211: add radiotap support
This patch adds support for radiotap to d80211. The driver must set
IEEE80211_HW_MONITOR_DURING_OPER as well as
IEEE80211_HW_RADIOTAP_SUPPORTED, and it must send radiotap frames when
there is at least one monitor interface up. Tested with zd1211rw-d80211.
Signed-off-b
On Monday 18 December 2006 14:31, Jiri Benc wrote:
> Shouldn't the stack create the radiotap header for the driver?
>
I will replace the current avs header generating code with basic (fixed len
header) radiotap code too, but since radiotap is a variable length header, it
is easier for the driver
On Sat, 16 Dec 2006 18:01:03 -0500, Michael Wu wrote:
> This patch adds support for radiotap to d80211. The driver must set
> IEEE80211_HW_MONITOR_DURING_OPER as well as
> IEEE80211_HW_RADIOTAP_SUPPORTED, and it must send radiotap frames when
> there is at least one monitor interface up. Tested wit
On Monday 18 December 2006 12:20, David Kimdon wrote:
> htons and friends can handle determining the argument is a constant on
> their own, so this change should be dropped.
>
Hm, appears so. Didn't know that. I'll resend the patch without this change.
Thanks,
-Michael Wu
pgpAgXQMS5hq0.pgp
Descr
On Sat, Dec 16, 2006 at 06:01:03PM -0500, Michael Wu wrote:
> skb->mac.raw = skb->data;
> skb->ip_summed = CHECKSUM_UNNECESSARY;
> skb->pkt_type = PACKET_OTHERHOST;
> - skb->protocol = htons(ETH_P_802_2);
> + skb->protocol = __constant_htons(ETH_P_802_2);
> memset(sk
d80211: add radiotap support
This patch adds support for radiotap to d80211. The driver must set
IEEE80211_HW_MONITOR_DURING_OPER as well as
IEEE80211_HW_RADIOTAP_SUPPORTED, and it must send radiotap frames when
there is at least one monitor interface up. Tested with zd1211rw-d80211.
Signed-off-b