Search Linux Wireless

RE: [PATCH v2] Add new mac80211 driver mwlwifi.

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

 



> Johannes Berg wrote:
> 
> On Wed, 2015-06-17 at 08:07 +0000, David Lin wrote:
> 
> > > Also, you probably really should have two header files - one for the
> > > firmware structs and one for the driver structs - especially since
> > > you seem to be confusing the two!
> > >
> > As mentioned before, this is current interface with F/W, and this F/W
> > is used by other marvell's drivers, I can't change it.
> 
> You're misunderstanding. I'm not asking you to change the interface. I'm just
> asking you to make sure you know which part is firmware interface and which
> isn't. Clearly, pointers *cannot* be firmware interface - if there's something
> "cookie-like" that you use as pointers you at least need to make sure you know
> how long this field is (32 or 64 bits)...
>
Yes, we know this kind of issue. We will enhance it in the future.
> 
> > All structures defined in this file are related to F/W commands, it
> > should be better let them be defined in this file.
> 
> Given your own confusion on what's firmware API and what isn't, I'm not so
> sure about that ...
>
I am sure all structures defined in this file is related to firmware command.
> 
> johannes

��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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