Search Linux Wireless

Re: wilc1000 MAC address is 00:00:00:00:00:00

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

 



On Fri, 2023-02-10 at 15:28 -0600, Dan Williams wrote:
> > 
> > In wilc1000, the bus interface is up in probe but we don't have
> > access
> > to mac address via register until the driver starts the wilc firmware
> > because of design limitation. This information is only available
> > after
> > the MAC layer is initialized.
> 
> So... initialize the MAC layer and read the address, then stop the card
> until dev open which reloads and reinits? That's what eg Atmel does

For a more modern example, iwlwifi also ;-)

You should also load the firmware async, so it becomes:

probe
 -> load firmware

firmware success callback
 - boot device
 - read information
 - register with mac80211
 - shut down device

mac80211 start callback
 - boot device again
 - etc.

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux