dragonboard: ap6212 wifi support
Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
parent
b8e03ef544
commit
246cbab9d3
8 changed files with 17 additions and 10 deletions
Binary file not shown.
Binary file not shown.
BIN
lichee/buildroot/target/dragonboard/src/testcases/wifitester/fw_bcm43438a1.bin
Executable file
BIN
lichee/buildroot/target/dragonboard/src/testcases/wifitester/fw_bcm43438a1.bin
Executable file
Binary file not shown.
Binary file not shown.
|
@ -1536,7 +1536,12 @@ CONFIG_WLAN_VENDOR_TI=y
|
|||
CONFIG_WLAN_VENDOR_ZYDAS=y
|
||||
# CONFIG_USB_ZD1201 is not set
|
||||
# CONFIG_USB_NET_RNDIS_WLAN is not set
|
||||
# CONFIG_BCMDHD is not set
|
||||
CONFIG_BCMDHD=m
|
||||
CONFIG_BCMDHD_FW_PATH="/system/vendor/modules/fw_bcmdhd.bin"
|
||||
CONFIG_BCMDHD_NVRAM_PATH="/system/vendor/modules/nvram.txt"
|
||||
CONFIG_BCMDHD_SDIO=y
|
||||
CONFIG_BCMDHD_OOB=y
|
||||
# CONFIG_BCMDHD_SDIO_IRQ is not set
|
||||
CONFIG_RTL8723CS=m
|
||||
CONFIG_RTL8723BS_VQ0=m
|
||||
|
||||
|
|
6
lichee/linux-4.9/drivers/net/wireless/bcmdhd/wl_cfg80211.c
Normal file → Executable file
6
lichee/linux-4.9/drivers/net/wireless/bcmdhd/wl_cfg80211.c
Normal file → Executable file
|
@ -5062,7 +5062,7 @@ wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
|
|||
swap_key_to_BE(&key);
|
||||
memset(¶ms, 0, sizeof(params));
|
||||
params.key_len = (u8) min_t(u8, DOT11_MAX_KEY_SIZE, key.len);
|
||||
memcpy(params.key, key.data, params.key_len);
|
||||
memcpy((void *)params.key, key.data, params.key_len);
|
||||
|
||||
err = wldev_iovar_getint_bsscfg(dev, "wsec", &wsec, bssidx);
|
||||
if (unlikely(err)) {
|
||||
|
@ -12946,13 +12946,15 @@ static s32 __wl_cfg80211_down(struct bcm_cfg80211 *cfg)
|
|||
defined(WL_NEWCFG_PRIVCMD_SUPPORT))
|
||||
struct net_device *p2p_net = cfg->p2p_net;
|
||||
#endif /* WL_CFG80211 && (WL_ENABLE_P2P_IF || WL_NEWCFG_PRIVCMD_SUPPORT) */
|
||||
u32 bssidx = 0;
|
||||
#ifdef PROP_TXSTATUS_VSDB
|
||||
#if defined(BCMSDIO)
|
||||
dhd_pub_t *dhd = (dhd_pub_t *)(cfg->pub);
|
||||
#endif
|
||||
#endif /* PROP_TXSTATUS_VSDB */
|
||||
WL_DBG(("In\n"));
|
||||
|
||||
u32 bssidx = 0;
|
||||
|
||||
/* Delete pm_enable_work */
|
||||
wl_add_remove_pm_enable_work(cfg, FALSE, WL_HANDLER_DEL);
|
||||
|
||||
|
|
|
@ -977,9 +977,9 @@ mir3da = 1
|
|||
;--------------------------------------------------------------------------------
|
||||
[wlan]
|
||||
compatible = "allwinner,sunxi-wlan"
|
||||
wlan_used = 0
|
||||
wlan_used = 1
|
||||
wlan_busnum = 1
|
||||
clocks =
|
||||
;clocks =
|
||||
wlan_power = "vcc-wifi"
|
||||
wlan_io_regulator = "vcc-wifi-io"
|
||||
wlan_regon = port:PL02<1><default><default><0>
|
||||
|
@ -1442,7 +1442,7 @@ pmu_powkey_on_time = 1000
|
|||
[regulator0]
|
||||
compatible = "axp803-regulator"
|
||||
regulator_count = 23
|
||||
regulator1 = "axp803_dcdc1 none vcc-nand vcc-emmc vcc-sdc vcc-usb-30 vcc-io vcc-emmcv vcc-emmcvq33 vcc-sdcvq33 vcc-sdcv vcc-sdcvd vcc-wifi"
|
||||
regulator1 = "axp803_dcdc1 none vcc-nand vcc-emmc vcc-sdc vcc-usb-30 vcc-io vcc-emmcv vcc-emmcvq33 vcc-sdcvq33 vcc-sdcv vcc-sdcvd"
|
||||
regulator2 = "axp803_dcdc2 none vdd-cpua"
|
||||
regulator3 = "axp803_dcdc3 none"
|
||||
regulator4 = "axp803_dcdc4 none"
|
||||
|
@ -1454,7 +1454,7 @@ regulator9 = "axp803_aldo1 none vdd-csi-led afvcc-csi iovdd-csi "
|
|||
regulator10 = "axp803_aldo2 none vcc-pl"
|
||||
regulator11 = "axp803_aldo3 none vcc-avcc vcc-pll"
|
||||
regulator12 = "axp803_dldo1 none vcc-hdmi-33 vcc-dsi-33 vcc-io2"
|
||||
regulator13 = "axp803_dldo2 none vcc-lcd"
|
||||
regulator13 = "axp803_dldo2 none vcc-wifi"
|
||||
regulator14 = "axp803_dldo3 none avdd-csi"
|
||||
regulator15 = "axp803_dldo4 none vcc-wifi-io vcc-pg"
|
||||
regulator16 = "axp803_eldo1 none vcc-cpvdd vcc-pc vcc-emmcvq18"
|
||||
|
|
|
@ -59,13 +59,13 @@ run_type = 1
|
|||
;-------------------------------------------------------------------------------
|
||||
[wifi]
|
||||
display_name= "网络"
|
||||
activated = 0
|
||||
activated = 1
|
||||
program = "wifitester.sh"
|
||||
category = 0
|
||||
run_type = 1
|
||||
module_count= 1
|
||||
module_path = "/system/vendor/modules/8723cs.ko"
|
||||
module_args =
|
||||
module_path = "/system/vendor/modules/bcmdhd.ko"
|
||||
module_args = "nvram_path=/system/vendor/modules/nvram_ap6212.txt"
|
||||
|
||||
[ethernet]
|
||||
display_name= "乙太網"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue