mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
drivers/wiresless/ieee80211: Correct some initialization problems with BCM43362 chip. Adds BCM43428 support. arch/arm/src: Add support for SDIO card to SDIO driver.
Squashed commit of the following: Author: Gregory Nutt <gnutt@nuttx.org> include/nuttx/wireless/ieee80211: Cosmetic, coding standard changes from review of last merge. drivers/wireless/ieee80211: Cosmetic, coding standard changes from review of last merge. configs/photon: Cosmetic, coding standard changes from review of last merge. arch/arm/src/stm32: SDIO changes from last review: Fix a few long lines and other coding standard issues; Make additions for SDIO card support dependent on a configuration option. Author: hhuysqt <hyq9606@126.com> Return IEEE 802.11 MAC address just as ethernet does Modifyed bcmf_board_setup_oob_irq declaration Modified OOB ISR function types Add some logic according to WICED SDK Bug fixed: data_offset counts in 4-bytes Add BCM43438 logic for future developement Add tips on using telnet Use SDIO in-band interrupt instead of OOB interrupt, because Photon seems to unconnect the OOB interrupt line... add SDIO in-band interrupt logic
This commit is contained in:
@@ -958,7 +958,8 @@ static int netdev_ifr_ioctl(FAR struct socket *psock, int cmd,
|
||||
if (dev)
|
||||
{
|
||||
#ifdef CONFIG_NET_ETHERNET
|
||||
if (dev->d_lltype == NET_LL_ETHERNET)
|
||||
if (dev->d_lltype == NET_LL_ETHERNET ||
|
||||
dev->d_lltype == NET_LL_IEEE80211)
|
||||
{
|
||||
req->ifr_hwaddr.sa_family = AF_INETX;
|
||||
memcpy(req->ifr_hwaddr.sa_data,
|
||||
|
||||
Reference in New Issue
Block a user