Search Linux Wireless

Re: [PATCH] mac80211: allow drivers to indicate failed FCS/PLCP checksum

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

 



On Fri, 2007-08-03 at 23:44 +0200, Johannes Berg wrote:

> --- mac80211.orig/net/mac80211/rx.c	2007-08-03 23:06:54.187869508 +0200
> +++ mac80211/net/mac80211/rx.c	2007-08-03 23:39:41.717869508 +0200
> @@ -155,6 +155,7 @@ ieee80211_rx_monitor(struct net_device *
>  		__le16 chan_freq;
>  		__le16 chan_flags;
>  		u8 antsignal;
> +		__le16 rx_flags;
>  	} __attribute__ ((packed)) *rthdr;

Oh. I overlooked the packed attribute there, this additional patch is
needed:

--- mac80211.orig/net/mac80211/rx.c     2007-08-03 23:06:54.187869508 +0200
+++ mac80211/net/mac80211/rx.c  2007-08-03 23:39:41.717869508 +0200
@@ -155,6 +155,7 @@ ieee80211_rx_monitor(struct net_device *
 		__le16 chan_freq;
 		__le16 chan_flags;
 		u8 antsignal;
+		u8 padding_for_rx_flags;
 		__le16 rx_flags;
 	} __attribute__ ((packed)) *rthdr;
 

(patch fabricated by hand so might not apply)

johannes

-
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