2020-03-25 16:00:21

by Geoffroy Letourneur

[permalink] [raw]
Subject: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.


Hello,

I am working on Jetson Nano boards. I would like to connect two boards together with AX200 wifi module.
One is configured in hostspot mode and the other one is the client connected to the hostspot.

Kernel Version: 4.9.140-tegra aarch64
Ubuntu distribution: Bionic
The idea is to used hostapd and wpasupplicant daemon to set up the module and connect the card together.
Wpa_supplicant and hostapd version V2.6.

I install all the drivers from intel and follow this tuto. https://wifi.hypergeek.net/you-too-can-have-a-sub-200-11ax-client/
So I can see the wlan phy with ifconfig command line.
When I try to launch hostapd in ax mode with your module I have the following mistake.
ACS: Possibly channel configuration is invalid, please report this along with your config file. ACS: Failed to start wlan0: AP-DISABLED hostapd_free_hapd_data: Interface wlan0 wasn't started

Could you help to set up correctly hostapd ?

Best Regards

--
Geoffroy LETOURNEUR
Embedded Software Engineer,
SSIC, Paris

Email: [email protected]<mailto:[email protected]>
Tel: +33 6 45 14 24 32




2020-03-26 07:44:14

by Matthias May

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

On 25/03/2020 16:54, Geoffroy Letourneur wrote:
>
> Hello,
>
> I am working on Jetson Nano boards. I would like to connect two boards together with AX200 wifi module.
> One is configured in hostspot mode and the other one is the client connected to the hostspot.
>
> Kernel Version: 4.9.140-tegra aarch64
> Ubuntu distribution: Bionic
> The idea is to used hostapd and wpasupplicant daemon to set up the module and connect the card together.
> Wpa_supplicant and hostapd version V2.6.
>
> I install all the drivers from intel and follow this tuto. https://wifi.hypergeek.net/you-too-can-have-a-sub-200-11ax-client/
> So I can see the wlan phy with ifconfig command line.
> When I try to launch hostapd in ax mode with your module I have the following mistake.
> ACS: Possibly channel configuration is invalid, please report this along with your config file. ACS: Failed to start wlan0: AP-DISABLED hostapd_free_hapd_data: Interface wlan0 wasn't started
>
> Could you help to set up correctly hostapd ?
>
> Best Regards
>
> --
> Geoffroy LETOURNEUR
> Embedded Software Engineer,
> SSIC, Paris
>
> Email: [email protected]<mailto:[email protected]>
> Tel: +33 6 45 14 24 32
>
>
>


Hi

As far as i know the AX200 is not intended/can not be used as AP.

If you type "iw list" you should get a list of the capabilities of your
card.

On an ath9k based card this looks something like this:
valid interface combinations:
* #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO
} <= 1, #{ IBSS } <= 1,
total <= 2048, #channels <= 1, STA/AP BI must match, radar detect
widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

BR
Matthias

2020-03-26 08:20:53

by Geoffroy Letourneur

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

Hello Matthias,

The AX200 module seems to support AP mode it works with 2.4GHz Wifi 802.11n mode, I tested it. But maybe it could not support this mode in 802.11ax.
Please find in attach file the log of the iw list command launch on the Jetson Nano.

Best regards.

--
Geoffroy LETOURNEUR
Embedded Software Engineer,
SSIC, Paris

Email: [email protected]
Tel: +33 6 45 14 24 32




Le 26/03/2020 08:34, « Matthias May » <[email protected]> a écrit :

On 25/03/2020 16:54, Geoffroy Letourneur wrote:
>
> Hello,
>
> I am working on Jetson Nano boards. I would like to connect two boards together with AX200 wifi module.
> One is configured in hostspot mode and the other one is the client connected to the hostspot.
>
> Kernel Version: 4.9.140-tegra aarch64
> Ubuntu distribution: Bionic
> The idea is to used hostapd and wpasupplicant daemon to set up the module and connect the card together.
> Wpa_supplicant and hostapd version V2.6.
>
> I install all the drivers from intel and follow this tuto. https://urldefense.proofpoint.com/v2/url?u=https-3A__protect2.fireeye.com_url-3Fk-3D818d9bd4-2Ddc13354e-2D818c109b-2D0cc47a336fae-2Dd505b4921db39609-26u-3Dhttps-3A__wifi.hypergeek.net_you-2Dtoo-2Dcan-2Dhave-2Da-2Dsub-2D200-2D11ax-2Dclient_&d=DwICaQ&c=JfeWlBa6VbDyTXraMENjy_b_0yKWuqQ4qY-FPhxK4x8w-TfgRBDyeV4hVQQBEgL2&r=rgEswbwy1XbFnKdFc35QbMxZq-CcuHl8LLp2yHVN_CY&m=ybGhzUwNBdQ0dIWErSyzhVMn9Bj6gWQTE7Kl5AVPh2c&s=NC4PcvfCUL4dzOp4Moau7XGeAA3-zsvlZrontDHzeE0&e=
> So I can see the wlan phy with ifconfig command line.
> When I try to launch hostapd in ax mode with your module I have the following mistake.
> ACS: Possibly channel configuration is invalid, please report this along with your config file. ACS: Failed to start wlan0: AP-DISABLED hostapd_free_hapd_data: Interface wlan0 wasn't started
>
> Could you help to set up correctly hostapd ?
>
> Best Regards
>
> --
> Geoffroy LETOURNEUR
> Embedded Software Engineer,
> SSIC, Paris
>
> Email: [email protected]<mailto:[email protected]>
> Tel: +33 6 45 14 24 32
>
>
>


Hi

As far as i know the AX200 is not intended/can not be used as AP.

If you type "iw list" you should get a list of the capabilities of your
card.

On an ath9k based card this looks something like this:
valid interface combinations:
* #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO
} <= 1, #{ IBSS } <= 1,
total <= 2048, #channels <= 1, STA/AP BI must match, radar detect
widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

BR
Matthias



Attachments:
iwlist-jetson.log (7.72 kB)
iwlist-jetson.log

2020-03-26 08:24:28

by Johannes Berg

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

On Thu, 2020-03-26 at 08:19 +0000, Geoffroy Letourneur wrote:
> Hello Matthias,
>
> The AX200 module seems to support AP mode it works with 2.4GHz Wifi
> 802.11n mode, I tested it. But maybe it could not support this mode in
> 802.11ax.

2.4 GHz should be OK - 5 GHz is generally limited on those devices due
to regulatory restrictions.

johannes

2020-03-26 09:27:33

by Geoffroy Letourneur

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

Hello Johannes,

What you mean by regulatory restrictions?
Hardware restriction ?
Software restriction ?
Law restriction ?

Best regards Geo

--
Geoffroy LETOURNEUR
Embedded Software Engineer,
SSIC, Paris

Email: [email protected]
Tel: +33 6 45 14 24 32




Le 26/03/2020 09:24, « Johannes Berg » <[email protected]> a écrit :

On Thu, 2020-03-26 at 08:19 +0000, Geoffroy Letourneur wrote:
> Hello Matthias,
>
> The AX200 module seems to support AP mode it works with 2.4GHz Wifi
> 802.11n mode, I tested it. But maybe it could not support this mode in
> 802.11ax.

2.4 GHz should be OK - 5 GHz is generally limited on those devices due
to regulatory restrictions.

johannes



2020-03-26 14:34:51

by Dan Williams

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

On Thu, 2020-03-26 at 09:27 +0000, Geoffroy Letourneur wrote:
> Hello Johannes,
>
> What you mean by regulatory restrictions?
> Hardware restriction ?
> Software restriction ?
> Law restriction ?

There are legal restrictions on spectrum use, especially in the 5Ghz
range. Which means additional effort must be put into both hardware and
software to satisfy those restrictions. And perhaps that effort was not
considered cost effective for the AX200.

Dan

> Best regards Geo
>
> --
> Geoffroy LETOURNEUR
> Embedded Software Engineer,
> SSIC, Paris
>
> Email: [email protected]
> Tel: +33 6 45 14 24 32
>
>
>
>
> Le 26/03/2020 09:24, « Johannes Berg » <[email protected]> a
> écrit :
>
> On Thu, 2020-03-26 at 08:19 +0000, Geoffroy Letourneur wrote:
> > Hello Matthias,
> >
> > The AX200 module seems to support AP mode it works with 2.4GHz
> Wifi
> > 802.11n mode, I tested it. But maybe it could not support this
> mode in
> > 802.11ax.
>
> 2.4 GHz should be OK - 5 GHz is generally limited on those
> devices due
> to regulatory restrictions.
>
> johannes
>
>
>

2020-03-26 17:48:27

by Martin Bourreau

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

Adding people for awareness of the conversation.

Le 26/03/2020 15:32, « Dan Williams » <[email protected]> a écrit :

On Thu, 2020-03-26 at 09:27 +0000, Geoffroy Letourneur wrote:
> Hello Johannes,
>
> What you mean by regulatory restrictions?
> Hardware restriction ?
> Software restriction ?
> Law restriction ?

There are legal restrictions on spectrum use, especially in the 5Ghz
range. Which means additional effort must be put into both hardware and
software to satisfy those restrictions. And perhaps that effort was not
considered cost effective for the AX200.

Dan

> Best regards Geo
>
> --
> Geoffroy LETOURNEUR
> Embedded Software Engineer,
> SSIC, Paris
>
> Email: [email protected]
> Tel: +33 6 45 14 24 32
>
>
>
>
> Le 26/03/2020 09:24, « Johannes Berg » <[email protected]> a
> écrit :
>
> On Thu, 2020-03-26 at 08:19 +0000, Geoffroy Letourneur wrote:
> > Hello Matthias,
> >
> > The AX200 module seems to support AP mode it works with 2.4GHz
> Wifi
> > 802.11n mode, I tested it. But maybe it could not support this
> mode in
> > 802.11ax.
>
> 2.4 GHz should be OK - 5 GHz is generally limited on those
> devices due
> to regulatory restrictions.
>
> johannes
>
>
>



2020-03-26 17:56:39

by Duncan McDonald

[permalink] [raw]
Subject: RE: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

Martin,

Interesting. I knew there were issues for 802.11ax in the ISM band outside of the ones currently used for wifi, but it seems the issues extend to the current 5GHz band as well.

Duncan

-----Original Message-----
From: Martin Bourreau
Sent: Thursday, March 26, 2020 10:39 AM
To: Dan Williams <[email protected]>; Geoffroy Letourneur <[email protected]>; Johannes Berg <[email protected]>; Matthias May <[email protected]>; [email protected]; [email protected]
Cc: Gilles Mazars <[email protected]>; Kitty (Xia) Lou <[email protected]>; Harris Warren <[email protected]>; Raymond Chan <[email protected]>; Duncan McDonald <[email protected]>; Seshu (Leela Seshu Reddy) Cheedepudi <[email protected]>
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

Adding people for awareness of the conversation.

Le 26/03/2020 15:32, « Dan Williams » <[email protected]> a écrit :

On Thu, 2020-03-26 at 09:27 +0000, Geoffroy Letourneur wrote:
> Hello Johannes,
>
> What you mean by regulatory restrictions?
> Hardware restriction ?
> Software restriction ?
> Law restriction ?

There are legal restrictions on spectrum use, especially in the 5Ghz
range. Which means additional effort must be put into both hardware and
software to satisfy those restrictions. And perhaps that effort was not
considered cost effective for the AX200.

Dan

> Best regards Geo
>
> --
> Geoffroy LETOURNEUR
> Embedded Software Engineer,
> SSIC, Paris
>
> Email: [email protected]
> Tel: +33 6 45 14 24 32
>
>
>
>
> Le 26/03/2020 09:24, « Johannes Berg » <[email protected]> a
> écrit :
>
> On Thu, 2020-03-26 at 08:19 +0000, Geoffroy Letourneur wrote:
> > Hello Matthias,
> >
> > The AX200 module seems to support AP mode it works with 2.4GHz
> Wifi
> > 802.11n mode, I tested it. But maybe it could not support this
> mode in
> > 802.11ax.
>
> 2.4 GHz should be OK - 5 GHz is generally limited on those
> devices due
> to regulatory restrictions.
>
> johannes
>
>
>



2020-03-26 20:47:51

by Dan Williams

[permalink] [raw]
Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on Nvidia Nano.

On Thu, 2020-03-26 at 17:45 +0000, Duncan McDonald wrote:
> Martin,
>
> Interesting. I knew there were issues for 802.11ax in the ISM band
> outside of the ones currently used for wifi, but it seems the issues
> extend to the current 5GHz band as well.

To be clear, I have no idea about this specific device or case. But
802.11h is an example of behavior required for legal/regulatory
reasons.

https://www.prowesswireless.com/post/2016/05/28/dfs-80211h
https://www.cisco.com/c/en/us/support/docs/wireless-mobility/80211/213882-radar-detection-in-dynamic-frequency-sel.html

Dan

> Duncan
>
> -----Original Message-----
> From: Martin Bourreau
> Sent: Thursday, March 26, 2020 10:39 AM
> To: Dan Williams <[email protected]>; Geoffroy Letourneur <
> [email protected]>; Johannes Berg <[email protected]>;
> Matthias May <[email protected]>;
> [email protected]; [email protected]
> Cc: Gilles Mazars <[email protected]>; Kitty (Xia) Lou <
> [email protected]>; Harris Warren <[email protected]>; Raymond
> Chan <[email protected]>; Duncan McDonald <
> [email protected]>; Seshu (Leela Seshu Reddy) Cheedepudi <
> [email protected]>
> Subject: Re: Geoffroy LETOURNEUR: Samsung AX200 system integration on
> Nvidia Nano.
>
> Adding people for awareness of the conversation.
>
> Le 26/03/2020 15:32, « Dan Williams » <[email protected]> a écrit :
>
> On Thu, 2020-03-26 at 09:27 +0000, Geoffroy Letourneur wrote:
> > Hello Johannes,
> >
> > What you mean by regulatory restrictions?
> > Hardware restriction ?
> > Software restriction ?
> > Law restriction ?
>
> There are legal restrictions on spectrum use, especially in the
> 5Ghz
> range. Which means additional effort must be put into both
> hardware and
> software to satisfy those restrictions. And perhaps that effort
> was not
> considered cost effective for the AX200.
>
> Dan
>
> > Best regards Geo
> >
> > --
> > Geoffroy LETOURNEUR
> > Embedded Software Engineer,
> > SSIC, Paris
> >
> > Email: [email protected]
> > Tel: +33 6 45 14 24 32
> >
> >
> >
> >
> > Le 26/03/2020 09:24, « Johannes Berg » <
> [email protected]> a
> > écrit :
> >
> > On Thu, 2020-03-26 at 08:19 +0000, Geoffroy Letourneur
> wrote:
> > > Hello Matthias,
> > >
> > > The AX200 module seems to support AP mode it works with
> 2.4GHz
> > Wifi
> > > 802.11n mode, I tested it. But maybe it could not support
> this
> > mode in
> > > 802.11ax.
> >
> > 2.4 GHz should be OK - 5 GHz is generally limited on those
> > devices due
> > to regulatory restrictions.
> >
> > johannes
> >
> >
> >
>
>
>