QCA9984 ap mode with ath10k backport cannot be connect

吳重毅 uranus0206 at gmail.com
Fri Nov 10 00:10:48 PST 2017


Hi:

For the vht_cap part, thank you for correcting my configures.

Talking the bridge parameter, it's wired that i tested in my pc which
i use brctl to bridge two interface and still can get ip without the
bridge parameter in hostapd configure.

I also have another card which driver is ath9k. I use the same
backport source to build ath9k module, and get the same result(I do
not get any fail message in dmesg).

Enable wifi ap mode is successful. But cannot be connected. Then i
change to previous built modules( an issue with old module is wifi
card with ath9k cannot use), and i can connect to ap.

Here are both backport source i made(backport to linux4.2):
Old:  https://drive.google.com/open?id=1y00crEiBzpZS9qILvFaPYfZrVKdIXuT4
New:  https://drive.google.com/open?id=1zuxoyysXj2RskxKeMZ4h2sakqJI1wYzT

I diff the backport sources and they are very different. Maybe it's
something wrong with lower part?

On Fri, Nov 10, 2017 at 11:46 AM, 吳重毅 <uranus0206 at gmail.com> wrote:
> Hi:
> Currently i am using latest backport git and linux-stable git tag
> v4.13 to backport to my old linux4.2.8.
> I am successfully enable the ap mode(with hostapd). Then i bridge(by
> command brctl) the ap with wired port and i test connectivity with my
> cell phone and laptop.
>
> But unfortunately it stop at getting ip.
>
> Is there any hint for me to do next?
>
> Here is my dmesg log:
> [  265.243823] Loading modules backported from Linux version v4.13.12-0-g0da7475
> [  265.251009] Backport generated by backports.git v4.14-rc2-1-27-g75fadbc
> [  265.322001] DMAR: 32bit 0000:09:00.0 uses non-identity mapping
> [  265.328015] ath10k_pci 0000:09:00.0: enabling device (0000 -> 0002)
> [  265.334794] ath10k_pci 0000:09:00.0: pci irq msi oper_irq_mode 2
> irq_mode 0 reset_mode 0
> [  265.384951] DMAR: 32bit 0000:0a:00.0 uses non-identity mapping
> [  265.390950] ath10k_pci 0000:0a:00.0: enabling device (0000 -> 0002)
> [  265.397700] ath10k_pci 0000:0a:00.0: pci irq msi oper_irq_mode 2
> irq_mode 0 reset_mode 0
> [  265.438563] ath10k_pci 0000:09:00.0: qca9984/qca9994 hw1.0 target
> 0x01000000 chip_id 0x00000000 sub 168c:cafe
> [  265.448575] ath10k_pci 0000:09:00.0: kconfig debug 1 debugfs 1
> tracing 0 dfs 1 testmode 0
> [  265.457469] ath10k_pci 0000:09:00.0: firmware ver 10.4-3.4-00082
> api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast
> crc32 f301de65
> [  265.501269] ath10k_pci 0000:0a:00.0: qca9984/qca9994 hw1.0 target
> 0x01000000 chip_id 0x00000000 sub 168c:cafe
> [  265.511244] ath10k_pci 0000:0a:00.0: kconfig debug 1 debugfs 1
> tracing 0 dfs 1 testmode 0
> [  265.520132] ath10k_pci 0000:0a:00.0: firmware ver 10.4-3.4-00082
> api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast
> crc32 f301de65
> [  266.233865] flashcache flashcache_ioctl 21297
> [  266.238671] flashcache flashcache_ioctl 21297
> [  266.893232] ath10k_pci 0000:09:00.0: board_file api 2 bmi_id 0:1
> crc32 751efba1
> [  266.956378] ath10k_pci 0000:0a:00.0: board_file api 2 bmi_id 0:2
> crc32 751efba1
> [  269.668870] ath10k_pci 0000:09:00.0: htt-ver 2.2 wmi-op 6 htt-op 4
> cal otp max-sta 512 raw 0 hwcrypto 1
> [  269.725879] ath10k_pci 0000:0a:00.0: htt-ver 2.2 wmi-op 6 htt-op 4
> cal otp max-sta 512 raw 0 hwcrypto 1
> [  269.738776] ath: EEPROM regdomain: 0x0
> [  269.738783] ath: EEPROM indicates default country code should be used
> [  269.738786] ath: doing EEPROM country->regdmn map search
> [  269.738789] ath: country maps to regdmn code: 0x3a
> [  269.738791] ath: Country alpha2 being used: US
> [  269.738793] ath: Regpair used: 0x3a
> [  269.787536] ath: EEPROM regdomain: 0x0
> [  269.787543] ath: EEPROM indicates default country code should be used
> [  269.787546] ath: doing EEPROM country->regdmn map search
> [  269.787548] ath: country maps to regdmn code: 0x3a
> [  269.787551] ath: Country alpha2 being used: US
> [  269.787553] ath: Regpair used: 0x3a
> [  270.576232] ath10k_pci 0000:09:00.0 wifiap0: renamed from wlan0
> [  270.614875] ath10k_pci 0000:0a:00.0 wifiap1: renamed from wlan1
> [  282.787675] cgroup: docker-runc (29079) created nested cgroup for
> controller "memory" which has incomplete hierarchy support. Nested
> cgroups may change behavior in the future.
> [  282.803390] cgroup: "memory" requires setting use_hierarchy to 1 on the root
> [  283.043295] init: Console is alive
> [  284.047641] init: - preinit -
> [  286.340061] mount_root: mounting /dev/root
> [  286.377912] procd: - early -
> [  287.045634] usbcore: registered new interface driver cdc_acm
> [  287.051343] cdc_acm: USB Abstract Control Model driver for USB
> modems and ISDN adapters
> [  287.124529] procd: - ubus -
> [  288.128172] procd: - init -
> [  288.763949] systemd-udevd[31508]: starting version 204
> [  289.503887] flashcache flashcache_ioctl 21297
> [  289.508729] flashcache flashcache_ioctl 21297
> [  298.770414] input: uinput-remotepad-rel_x_y as /devices/virtual/input/input7
> [  301.199201] mce: [Hardware Error]: Machine check events logged
> [  324.801796] flashcache flashcache_ioctl 21297
> [  324.807034] flashcache flashcache_ioctl 21297
> [  481.873314] device wifiap0 entered promiscuous mode
> [  481.878335] wifibr0: port 2(wifiap0) entered forwarding state
> [  481.884189] wifibr0: port 2(wifiap0) entered forwarding state
> [  494.075176] flashcache flashcache_ioctl 21297
> [  494.079927] flashcache flashcache_ioctl 21297
> [  496.923462] wifibr0: port 2(wifiap0) entered forwarding state
>
> Hostapd config:
> wmm_enabled=1
> ieee80211d=1
> vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-160][VHT160-80PLUS80][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP7][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][BF-ANTENNA-4][SOUNDING-DIMENSION-4]
> ssid=ath10k
> ieee80211n=1
> vht_oper_chwidth=1
> driver=nl80211
> ieee80211ac=1
> ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][RX-STBC1][DSSS_CCK-40][MAX-AMSDU-3839]
> hw_mode=a
> country_code=TW
> uapsd_advertisement_enabled=1
> interface=wifiap0
> preamble=1
> channel=0
>
> Then, i use iw connect command with PC to connect ap and get
> dmesg as below:
>
> [2355824.803400] wlp1s0: authenticate with 90:0a:1a:e3:35:18
> [2355824.810627] wlp1s0: send auth to 90:0a:1a:e3:35:18 (try 1/3)
> [2355824.811449] wlp1s0: authenticated
> [2355824.814455] wlp1s0: associate with 90:0a:1a:e3:35:18 (try 1/3)
> [2355824.815523] wlp1s0: RX AssocResp from 90:0a:1a:e3:35:18
> (capab=0x1 status=0 aid=1)
> [2355824.817400] wlp1s0: associated
> [2355824.817648] wlp1s0: deauthenticating from 90:0a:1a:e3:35:18 by
> local choice (Reason: 3=DEAUTH_LEAVING)
>
> --
> Wu Chung-I



-- 
Wu Chung-I



More information about the ath10k mailing list