Search Linux Wireless

Re: pci-half-mini 7260 Wireless AC support 3.13

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

 



(replying to myself, Tim responded off-list)

On Thu, 2014-02-27 at 18:58 +0100, Johannes Berg wrote:

> iw wlan0 interface add moni0 type monitor flags none
> ip link set moni0 up
> tcpdump -i moni0 -s 0 -w /tmp/assoc.pcap

Turns out I missed a quirk in the 11ac spec when implementing this - the
channel center frequency segment 0 is reserved when the channel width is
0 (use HT).

Try this change maybe:

diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 46b62bb3677c..ca1f74bb5d50 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -222,6 +222,7 @@ ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata,
 	switch (vht_oper->chan_width) {
 	case IEEE80211_VHT_CHANWIDTH_USE_HT:
 		vht_chandef.width = chandef->width;
+		vht_chandef.center_freq1 = chandef->center_freq1;
 		break;
 	case IEEE80211_VHT_CHANWIDTH_80MHZ:
 		vht_chandef.width = NL80211_CHAN_WIDTH_80;


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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux