2016-03-19 23:40:30

by Pali Rohár

[permalink] [raw]
Subject: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

Hi!

In linux-firmware repository [1] is missing AP firmware for TI wl1251
chip. There is only STA firmware wl1251-fw.bin which supports managed
and ad-hoc modes.

For other TI wilink chips there are <CHIP>-ap.bin firmware files
(wl1271-fw-ap.bin and wl128x-fw-ap.bin) which support AP mode. But for
wl1251 firmware file with guessed name "wl1251-fw-ap.bin" is missing.

Do you have any idea what happened with AP firmware for ti wilink4
wl1251 wifi chip? Or where can be found? Guys from TI, can you help?

I see that STA firmware was added into linux-firmware tree in year 2013
by this pull request [2].

[1] - https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ti-connectivity

[2] - http://thread.gmane.org/gmane.linux.kernel/1566500/focus=1571382

--
Pali Rohár
[email protected]


Attachments:
signature.asc (198.00 B)
This is a digitally signed message part.

2016-03-21 11:01:17

by Pali Rohár

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

On Monday 21 March 2016 12:35:32 Kalle Valo wrote:
> Pali Rohár <[email protected]> writes:
>
> > In linux-firmware repository [1] is missing AP firmware for TI wl1251
> > chip. There is only STA firmware wl1251-fw.bin which supports managed
> > and ad-hoc modes.
> >
> > For other TI wilink chips there are <CHIP>-ap.bin firmware files
> > (wl1271-fw-ap.bin and wl128x-fw-ap.bin) which support AP mode. But for
> > wl1251 firmware file with guessed name "wl1251-fw-ap.bin" is missing.
> >
> > Do you have any idea what happened with AP firmware for ti wilink4
> > wl1251 wifi chip? Or where can be found? Guys from TI, can you help?
>
> It's a long time ago but IIRC wl1251 has not ever supported AP mode and
> wl1271 was the first one to support it. But I might be wrong of course.

Support for AP mode in current kernel driver wl1251.ko is missing, but I
could try to write it if there will be firmware for it.

According to some TI whitepaper about TI wilink4 devices (wl1251 and
wl1253) those devices have support for some Soft-AP mode.

--
Pali Rohár
[email protected]

2016-03-21 10:35:42

by Kalle Valo

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

Pali Rohár <[email protected]> writes:

> In linux-firmware repository [1] is missing AP firmware for TI wl1251
> chip. There is only STA firmware wl1251-fw.bin which supports managed
> and ad-hoc modes.
>
> For other TI wilink chips there are <CHIP>-ap.bin firmware files
> (wl1271-fw-ap.bin and wl128x-fw-ap.bin) which support AP mode. But for
> wl1251 firmware file with guessed name "wl1251-fw-ap.bin" is missing.
>
> Do you have any idea what happened with AP firmware for ti wilink4
> wl1251 wifi chip? Or where can be found? Guys from TI, can you help?

It's a long time ago but IIRC wl1251 has not ever supported AP mode and
wl1271 was the first one to support it. But I might be wrong of course.

--
Kalle Valo

2016-04-06 12:31:34

by Yaniv Machani

[permalink] [raw]
Subject: RE: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

T24gV2VkLCBBcHIgMDYsIDIwMTYgYXQgMTU6MTI6NDMsIFBhbGkgUm9ow6FyIHdyb3RlOg0KPiA+
ID4gPiBGb3Igb3RoZXIgVEkgd2lsaW5rIGNoaXBzIHRoZXJlIGFyZSA8Q0hJUD4tYXAuYmluIGZp
cm13YXJlIGZpbGVzIA0KPiA+ID4gPiAod2wxMjcxLWZ3LWFwLmJpbiBhbmQgd2wxMjh4LWZ3LWFw
LmJpbikgd2hpY2ggc3VwcG9ydCBBUCBtb2RlLg0KPiA+ID4gPiBCdXQgZm9yDQo+ID4gPiA+IHds
MTI1MSBmaXJtd2FyZSBmaWxlIHdpdGggZ3Vlc3NlZCBuYW1lICJ3bDEyNTEtZnctYXAuYmluIiBp
cyANCj4gPiA+ID4gbWlzc2luZy4NCj4gPiA+ID4NCj4gPiA+ID4gRG8geW91IGhhdmUgYW55IGlk
ZWEgd2hhdCBoYXBwZW5lZCB3aXRoIEFQIGZpcm13YXJlIGZvciB0aQ0KPiA+ID4gPiB3aWxpbms0
IHdsMTI1MSB3aWZpIGNoaXA/IE9yIHdoZXJlIGNhbiBiZSBmb3VuZD8gR3V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Qo+IG9yIHNvbWVob3cgaXQgaXMgcG9zc2libGUgdG8gdXNl
IGN1cnJlbnQgcmVsZWFzZWQuIERvIHlvdSBoYXZlIGFueSBpbmZvcm1hdGlvbiBhYm91dCBpdD8N
Cj4gDQo+IC0tDQo+IFBhbGkgUm9ow6FyDQo+IHBhbGkucm9oYXJAZ21haWwuY29tDQoNCkhpIFBh
bGksDQpUaGlzIG11c3QgYmUgc29tZSB0eXBvLCB0aGUgZGV2aWNlIGRvZXMgbm90IHN1cHBvcnQg
U29mdC1BUC4NCk1vcmUgdGhhbiB0aGF0LCB3bDEyNTEgZmFtaWx5IGlzIG5vdCBvZmZpY2lhbGx5
IHN1cHBvcnRlZCB2aWEgdGhlIG1haW5saW5lIExpbnV4Lg0KRm9yIFNvZnQtQVAsIGFuZCBvdGhl
ciBuZXcgZmVhdHVyZXMgYmFzZWQgb24gTGludXggeW91IHNob3VsZCB1c2UgV2lMaW5rOCBjaGlw
IGZhbWlseS4NCg0KUmVnYXJkcywNCllhbml2DQo=

2016-04-06 19:07:48

by Kalle Valo

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

"Machani, Yaniv" <[email protected]> writes:

> More than that, wl1251 family is not officially supported via the
> mainline Linux.

I guess you mean not officially supported by TI? Because wl1251 driver
has been in mainline for ages and reportedly working.

--
Kalle Valo

2016-04-10 11:52:00

by Pavel Machek

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

Hi!

> > > wl1251 does not support AP mode, so there is no firmware for it in
> > > the tree.
> > >
> > > Regards,
> > > Yaniv
> >
> > Hi Yaniv! I read on some TI whitepaper, that wl1251 hardware supports
> > some Soft-AP mode. So I expect that either special FW is needed for it
> > or somehow it is possible to use current released. Do you have any information about it?
>
> Hi Pali,
> This must be some typo, the device does not support Soft-AP.
> More than that, wl1251 family is not officially supported via the mainline Linux.


> For Soft-AP, and other new features based on Linux you should use WiLink8 chip family.

Too late for that, we already have the devices, and they were manufactured quite long
time ago.

Is it "hardware can't do AP", "firmware can't do AP" or "current drivers
do not support AP"?

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2016-04-11 11:41:23

by Pali Rohár

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

On Sunday 10 April 2016 13:51:41 Pavel Machek wrote:
> Is it "hardware can't do AP", "firmware can't do AP" or "current drivers
> do not support AP"?

We know that current linux TI wl1251.ko driver does not support AP. And
I'm still do not know if "hardware can do AP" or not. Also I'm not sure...
maybe current firmware can be "forced" for implementing AP mode.

David Gnedt implemented packet injection for wl1251.ko via JOIN firmware
command. And he wrote me that aircrack utils contains one application
which implementing full AP station in userspace just via packet
injection radiotap (which is supported by wl1251).

So maybe using other firmware (filter) commands together with current
packet injection implementation could be possible to create AP mode
(usable for standard hostapd daemon)? Just thinking...

Anyway, other TI wilink devices have different firmware for AP mode...

--
Pali Rohár
[email protected]

2016-04-11 11:50:54

by Yaniv Machani

[permalink] [raw]
Subject: RE: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

T24gTW9uLCBBcHIgMTEsIDIwMTYgYXQgMTQ6NDE6MTgsIFBhbGkgUm9ow6FyIHdyb3RlOg0KPiBN
aXNob2wsIEd1eTsgQXJpayBOZW10c292OyBHZXJ5IEthaG47IEZlbGlwZSBCYWxiaTsgRGF2aWQg
V29vZGhvdXNlOyANCj4gQWFybyBLb3NraW5lbjsgQmVuIEh1dGNoaW5nczsgRGF2aWQgR25lZHQ7
IEl2YXlsbyBEaW1pdHJvdjsgU2ViYXN0aWFuIA0KPiBSZWljaGVsOyBUb255IExpbmRncmVuOyBN
ZW5vbiwgTmlzaGFudGg7IA0KPiBsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmc7IG5ldGRl
dkB2Z2VyLmtlcm5lbC5vcmc7IA0KPiBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnDQo+IFN1
YmplY3Q6IFJlOiBBUCBmaXJtd2FyZSBmb3IgVEkgd2wxMjUxIHdpZmkgY2hpcCAod2wxMjUxLWZ3
LWFwLmJpbikNCj4gDQo+IE9uIFN1bmRheSAxMCBBcHJpbCAyMDE2IDEzOjUxOjQxIFBhdmVsIE1h
Y2hlayB3cm90ZToNCj4gPiBJcyBpdCAiaGFyZHdhcmUgY2FuJ3QgZG8gQVAiLCAiZmlybXdhcmUg
Y2FuJ3QgZG8gQVAiIG9yICJjdXJyZW50IA0KPiA+IGRyaXZlcnMgZG8gbm90IHN1cHBvcnQgQVAi
Pw0KPiANCg0KQXMgYm90aCBGaXJtd2FyZSBhbmQgSFcgYXJlIG5vdCBpbiBhIHN0YWdlIHdoZXJl
IHRoZXkgY2FuIGJlIG1vZGlmaWVkLCB0aGVyZSBpcyBubyBzdXBwb3J0IGZvciBBUCBtb2RlIGlu
IGJvdGguDQoNClJlZ2FyZHMsDQpZYW5pdiBNYWNoYW5pDQoNCg0K

2016-04-06 19:13:04

by Yaniv Machani

[permalink] [raw]
Subject: RE: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

On Wed, Apr 06, 2016 at 22:07:39, Kalle Valo wrote:
>
> > More than that, wl1251 family is not officially supported via the
> > mainline Linux.
>
> I guess you mean not officially supported by TI? Because wl1251 driver
> has been in mainline for ages and reportedly working.
>
Correct.

Yaniv
> --
> Kalle Valo



2016-04-06 12:12:47

by Pali Rohár

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

On Wednesday 06 April 2016 13:30:22 Machani, Yaniv wrote:
> On Mon, Apr 04, 2016 at 15:39:44, Pali Rohár wrote:
> > > In linux-firmware repository [1] is missing AP firmware for TI
> > > wl1251 chip. There is only STA firmware wl1251-fw.bin which
> > > supports managed and ad-hoc modes.
> > >
> > > For other TI wilink chips there are <CHIP>-ap.bin firmware files
> > > (wl1271-fw-ap.bin and wl128x-fw-ap.bin) which support AP mode.
> > > But for
> > > wl1251 firmware file with guessed name "wl1251-fw-ap.bin" is
> > > missing.
> > >
> > > Do you have any idea what happened with AP firmware for ti
> > > wilink4 wl1251 wifi chip? Or where can be found? Guys from TI,
> > > can you help?
> > >
> > > I see that STA firmware was added into linux-firmware tree in
> > > year 2013 by this pull request [2].
> > >
> > > [1] -
> > > https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmw
> > > are .g
> > > it/tree/ti-connectivity
> > >
> > > [2] -
> > > http://thread.gmane.org/gmane.linux.kernel/1566500/focus=1571382
> >
> > Hi! Anybody has some idea about that AP firmware?
>
> Hi,
> wl1251 does not support AP mode, so there is no firmware for it in
> the tree.
>
> Regards,
> Yaniv

Hi Yaniv! I read on some TI whitepaper, that wl1251 hardware supports
some Soft-AP mode. So I expect that either special FW is needed for it
or somehow it is possible to use current released. Do you have any
information about it?

--
Pali Rohár
[email protected]


Attachments:
signature.asc (198.00 B)
This is a digitally signed message part.

2016-04-06 11:31:32

by Yaniv Machani

[permalink] [raw]
Subject: RE: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

T24gTW9uLCBBcHIgMDQsIDIwMTYgYXQgMTU6Mzk6NDQsIFBhbGkgUm9ow6FyIHdyb3RlOg0KDQo+
ID4gSW4gbGludXgtZmlybXdhcmUgcmVwb3NpdG9yeSBbMV0gaXMgbWlzc2luZyBBUCBmaXJtd2Fy
ZSBmb3IgVEkgDQo+ID4gd2wxMjUxIGNoaXAuIFRoZXJlIGlzIG9ubHkgU1RBIGZpcm13YXJlIHds
MTI1MS1mdy5iaW4gd2hpY2ggc3VwcG9ydHMgDQo+ID4gbWFuYWdlZCBhbmQgYWQtaG9jIG1vZGVz
Lg0KPiA+DQo+ID4gRm9yIG90aGVyIFRJIHdpbGluayBjaGlwcyB0aGVyZSBhcmUgPENISVA+LWFw
LmJpbiBmaXJtd2FyZSBmaWxlcyANCj4gPiAod2wxMjcxLWZ3LWFwLm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XJkcywNCllhbml2DQoNCj4gLS0NCj4gUGFsaSBSb2jDoXINCj4gcGFs
aS5yb2hhckBnbWFpbC5jb20NCg0KDQo=

2016-04-04 12:39:50

by Pali Rohár

[permalink] [raw]
Subject: Re: AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

On Sunday 20 March 2016 00:40:25 Pali Rohár wrote:
> Hi!
>
> In linux-firmware repository [1] is missing AP firmware for TI wl1251
> chip. There is only STA firmware wl1251-fw.bin which supports managed
> and ad-hoc modes.
>
> For other TI wilink chips there are <CHIP>-ap.bin firmware files
> (wl1271-fw-ap.bin and wl128x-fw-ap.bin) which support AP mode. But for
> wl1251 firmware file with guessed name "wl1251-fw-ap.bin" is missing.
>
> Do you have any idea what happened with AP firmware for ti wilink4
> wl1251 wifi chip? Or where can be found? Guys from TI, can you help?
>
> I see that STA firmware was added into linux-firmware tree in year 2013
> by this pull request [2].
>
> [1] - https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ti-connectivity
>
> [2] - http://thread.gmane.org/gmane.linux.kernel/1566500/focus=1571382
>

Hi! Anybody has some idea about that AP firmware?

--
Pali Rohár
[email protected]