All of lore.kernel.org
 help / color / mirror / Atom feed
* Set the primary channel in HT40 mode
@ 2016-06-27  8:58 Gaurang Ramesh Naik
  2016-06-27 11:57 ` Michal Kazior
  0 siblings, 1 reply; 3+ messages in thread
From: Gaurang Ramesh Naik @ 2016-06-27  8:58 UTC (permalink / raw)
  To: ath10k

Hi All,

I have some difficulty in understanding how HT40, HT40- and HT40+
modes work. My objective is to set a particular 20 MHz channel as the
primary channel when channel bonding is enabled. From what I
understand, HT40- means secondary channel is below the primary, while
HT40+ means secondary channel is above the primary channel. I am
particularly dealing with channels 149, 153, 157 and 161.

When I set the channel to say 157, whether I use HT40+ or HT40-, the
primary channel is always set to channel 161. I am inferring this
because when I scan using iwlist scan, my SSID shows on Channel 161.
Does ath10k not set the primary and secondary channel in this manner?

If not, is there a mechanism by which I can explicitly mention which
channel must be primary, and which must be secondary? Also, how is the
primary channel decided for VHT80 mode?

Note: I am using OpenWrt in my AP. So I set the htmode as an option in
the /etc/config/wireless file.

Thanks,
Gaurang.

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Set the primary channel in HT40 mode
  2016-06-27  8:58 Set the primary channel in HT40 mode Gaurang Ramesh Naik
@ 2016-06-27 11:57 ` Michal Kazior
  2016-06-27 13:32   ` Kamran Nishat
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Kazior @ 2016-06-27 11:57 UTC (permalink / raw)
  To: Gaurang Ramesh Naik; +Cc: ath10k

On 27 June 2016 at 10:58, Gaurang Ramesh Naik <gaurang@vt.edu> wrote:
> Hi All,
>
> I have some difficulty in understanding how HT40, HT40- and HT40+
> modes work. My objective is to set a particular 20 MHz channel as the
> primary channel when channel bonding is enabled. From what I
> understand, HT40- means secondary channel is below the primary, while
> HT40+ means secondary channel is above the primary channel. I am
> particularly dealing with channels 149, 153, 157 and 161.

http://securityuncorked.com/wordpress/wp-content/uploads/2013/11/graphic-80211-acChannels-all.png


> When I set the channel to say 157, whether I use HT40+ or HT40-, the
> primary channel is always set to channel 161. I am inferring this
> because when I scan using iwlist scan, my SSID shows on Channel 161.
> Does ath10k not set the primary and secondary channel in this manner?

ath10k doesn't care. hostapd can do a channel swap if it detects OBSS.
Not sure how much OpenWRT scripts mingle in (I'm guessing you're using
`uci`, hence the mention).


> If not, is there a mechanism by which I can explicitly mention which
> channel must be primary, and which must be secondary?

You can't. OBSS can still end up swapping your primary and extension channels.


> Also, how is the
> primary channel decided for VHT80 mode?

VHT80 is backward compat for HT40 and HT20 clients. See the channel
allocation link above.


Michał

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Set the primary channel in HT40 mode
  2016-06-27 11:57 ` Michal Kazior
@ 2016-06-27 13:32   ` Kamran Nishat
  0 siblings, 0 replies; 3+ messages in thread
From: Kamran Nishat @ 2016-06-27 13:32 UTC (permalink / raw)
  To: Michal Kazior; +Cc: Gaurang Ramesh Naik, ath10k

Dear Michal,
You can change in hostapd code to stop OBSS. Change function
hostapd_2040_coex_action to avoid primary change in case of OBSS.

Kamran

On Mon, Jun 27, 2016 at 4:57 PM, Michal Kazior <michal.kazior@tieto.com> wrote:
> On 27 June 2016 at 10:58, Gaurang Ramesh Naik <gaurang@vt.edu> wrote:
>> Hi All,
>>
>> I have some difficulty in understanding how HT40, HT40- and HT40+
>> modes work. My objective is to set a particular 20 MHz channel as the
>> primary channel when channel bonding is enabled. From what I
>> understand, HT40- means secondary channel is below the primary, while
>> HT40+ means secondary channel is above the primary channel. I am
>> particularly dealing with channels 149, 153, 157 and 161.
>
> http://securityuncorked.com/wordpress/wp-content/uploads/2013/11/graphic-80211-acChannels-all.png
>
>
>> When I set the channel to say 157, whether I use HT40+ or HT40-, the
>> primary channel is always set to channel 161. I am inferring this
>> because when I scan using iwlist scan, my SSID shows on Channel 161.
>> Does ath10k not set the primary and secondary channel in this manner?
>
> ath10k doesn't care. hostapd can do a channel swap if it detects OBSS.
> Not sure how much OpenWRT scripts mingle in (I'm guessing you're using
> `uci`, hence the mention).
>
>
>> If not, is there a mechanism by which I can explicitly mention which
>> channel must be primary, and which must be secondary?
>
> You can't. OBSS can still end up swapping your primary and extension channels.
>
>
>> Also, how is the
>> primary channel decided for VHT80 mode?
>
> VHT80 is backward compat for HT40 and HT20 clients. See the channel
> allocation link above.
>
>
> Michał
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-27 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27  8:58 Set the primary channel in HT40 mode Gaurang Ramesh Naik
2016-06-27 11:57 ` Michal Kazior
2016-06-27 13:32   ` Kamran Nishat

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.