Code Monkey home page Code Monkey logo

Comments (16)

pfiser avatar pfiser commented on July 21, 2024 1

Hi @jowoeber

looks like you're running into the same issues as I did :)
Check out this issue reported by me:
Issue 13
Report if it helps?
BR,
Primoz

from linux-ath.

pfiser avatar pfiser commented on July 21, 2024 1

@jowoeber I did also encounter this error when I tried to enable hostapd.

Here is my patch:

From 431db34e2040451bc4119a0c84a120e30ae6978a Mon Sep 17 00:00:00 2001
From: Primoz Fiser <[email protected]>
Date: Thu, 29 Aug 2019 13:52:27 +0200
Subject: [PATCH] ath10k: Fix mac.c using wrong dev_type struct member

Signed-off-by: Primoz Fiser <[email protected]>
---
 drivers/net/wireless/ath/ath10k/mac.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 298cac9..85cd5c9 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -953,7 +953,7 @@ static void ath10k_mac_vif_beacon_cleanup(struct ath10k_vif *arvif)
        ath10k_mac_vif_beacon_free(arvif);

        if (arvif->beacon_buf) {
-               if (ar->dev_type == ATH10K_DEV_TYPE_HL)
+               if (ar->bus_param.dev_type == ATH10K_DEV_TYPE_HL)
                        kfree(arvif->beacon_buf);
                else
                        dma_free_coherent(ar->dev, IEEE80211_MAX_FRAME_LEN,
@@ -5229,7 +5229,7 @@ static int ath10k_add_interface(struct ieee80211_hw *hw,
        if (vif->type == NL80211_IFTYPE_ADHOC ||
            vif->type == NL80211_IFTYPE_MESH_POINT ||
            vif->type == NL80211_IFTYPE_AP) {
-               if (ar->dev_type == ATH10K_DEV_TYPE_HL) {
+               if (ar->bus_param.dev_type == ATH10K_DEV_TYPE_HL) {
                        arvif->beacon_buf = kmalloc(IEEE80211_MAX_FRAME_LEN,
                                                    GFP_KERNEL);
                        arvif->beacon_paddr = (dma_addr_t)arvif->beacon_buf;
@@ -5450,7 +5450,7 @@ err_vdev_delete:

 err:
        if (arvif->beacon_buf) {
-               if (ar->dev_type == ATH10K_DEV_TYPE_HL)
+               if (ar->bus_param.dev_type == ATH10K_DEV_TYPE_HL)
                        kfree(arvif->beacon_buf);
                else
                        dma_free_coherent(ar->dev, IEEE80211_MAX_FRAME_LEN,
--
2.17.1

Hope it helps,
BR,
Primoz

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024 1

Hi,
the solution to my problems seemed to be use the ath-201810230921-ath10k-high-latency-tx-bundling branch with your two patches. Thanks.

With that it was possible to create an AP without it collapsing pretty much immediatly and to transfer data over it.

MfG
Joannes

from linux-ath.

pfiser avatar pfiser commented on July 21, 2024

Hi,
I won't give you exact howto but guidelines I used to get ath10k working on 4.14.
Steps:

  • get Linux kernel backports 5.2 and compile them against your 4.14 kernel (you will have to move some drivers from built-in to modules)
  • get this repository and checkout branch v5.2-ath10k-sdio (or v5.2-ath10k-sdio-v2)
  • find all commits in this repository since Linus' v5.2 tag (0ecfebd) and create patches with git format-patch
  • move to backports and initialize git repo there so you can work with previously created patches
  • use git am for all 19 patches and apply them, fixing conflicts in between. There won't be many :)
  • compile backports 5.2 with your changes against your kernel 4.14
  • transfer modules and try to bring-up the card
  • fix all missing pieces :)

BR,
Primoz

from linux-ath.

JohannesWoeber avatar JohannesWoeber commented on July 21, 2024

Thanks. I will try that.

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

Hi, thanks for the tip. It kind of worked. I actually created the backports directly from the repo and didnt apply them to a pre packaged backport. They also seem to load fine.

xyz:~/Documents$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/ --branch linux-5.2.y
xyz:~/Documents$ rm backports/patches/0090-remove-GRO_CONSUMED.patch
xyz:~/Documents$ git clone https://github.com/erstrom/linux-ath.git --branch v5.2-ath10k-sdio 
xyz:~/Documents$ cd backports/
xyz:~/Documents/backports$ ./gentree.py --clean ../linux-ath/ ../backport_v5.2-ath10k-sdio
Copy original source files ...
Applying patches from patches to ../backport_v5.2-ath10k-sdio ...

Modify Kconfig tree ...
Rewrite Makefiles and Kconfig files ...
Done!
embeddedDevice:~#insmod /lib/modules/4.18.16-rlms01-64383-gaa7aba1-dirty/updates/compat/compat.ko
[  123.922663] Loading modules backported from Linux version v5.2-19-g9f05f7b908bb
[  123.933145] Backport generated by backports.git v5.2.8-1-0-ga33d4e95
embeddedDevice:~#insmod /lib/modules/4.18.16-rlms01-64383-gaa7aba1-dirty/updates/net/wireless/cfg80211.ko
[  134.080963] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  134.285094] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  134.334359] platform regulatory.0: Direct firmware load for regulatory.db.p7s failed with error -2
[  134.353520] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
embeddedDevice:~#insmod /lib/modules/4.18.16-rlms01-64383-gaa7aba1-dirty/updates/net/mac80211/mac80211.ko
embeddedDevice:~#insmod /lib/modules/4.18.16-rlms01-64383-gaa7aba1-dirty/updates/drivers/net/wireless/ath/ath.ko
embeddedDevice:~#insmod /lib/modules/4.18.16-rlms01-64383-gaa7aba1-dirty/updates/drivers/net/wireless/ath/ath10k/ath10k_core.ko
embeddedDevice:~#insmod /lib/modules/4.18.16-rlms01-64383-gaa7aba1-dirty/updates/drivers/net/wireless/ath/ath10k/ath10k_sdio.ko
[  181.444903] ath10k_sdio mmc2:0001:1: WARNING: ath10k SDIO support is incomplete, don't expect anything to work!
[  181.587174] ath10k_sdio mmc2:0001:1: qca9377 hw1.1 sdio target 0x05020001 chip_id 0x00000000 sub 0000:0000
[  181.597689] ath10k_sdio mmc2:0001:1: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
[  181.612640] ath10k_sdio mmc2:0001:1: firmware ver WLAN.TF.1.1.1-00061-QCATFSWPZ-1 api 5 features ignore-otp crc32 7746e551
[  181.778358] ath10k_sdio mmc2:0001:1: board_file api 1 bmi_id N/A crc32 8b670d68
[  183.069639] ath10k_sdio mmc2:0001:1: unsupported HTC service id: 1536
[  183.084262] ath: EEPROM regdomain: 0x0
[  183.089266] ath: EEPROM indicates default country code should be used
[  183.104777] ath: doing EEPROM country->regdmn map search
[  183.118772] ath: country maps to regdmn code: 0x3a
[  183.123533] ath: Country alpha2 being used: US
[  183.127909] ath: Regpair used: 0x3a

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

But when I activate, deactivate and then reactivate the interface an error is thrown. Could this be due to the backporting?

embeddedDevice:~# ifconfig wlan0 up
[  238.178193] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
embeddedDevice:~# ifconfig wlan0 down
[  243.409745] ath10k_sdio mmc2:0001:1: failed to read from address 0x874: -110
[  243.426358] ath10k_sdio mmc2:0001:1: failed to read from address 0x800: -110
[  243.433402] ath10k_sdio mmc2:0001:1: failed to process pending SDIO interrupts: -110
[  243.441148] ath10k_sdio mmc2:0001:1: failed to read from mbox window data address: -110
[  243.449208] ath10k_sdio mmc2:0001:1: failed to read calibration data: -110
[  243.456199] ath10k_sdio mmc2:0001:1: failed to write to address 0x1c700: -110
[  243.476282] ath10k_sdio mmc2:0001:1: failed to write skb to 0x1c700 asynchronously: -110
[  243.484397] ath10k_sdio mmc2:0001:1: failed to write to address 0x1c700: -110
[  243.506278] ath10k_sdio mmc2:0001:1: failed to write skb to 0x1c700 asynchronously: -110
[  244.526296] ath10k_sdio mmc2:0001:1: suspend timed out - target pause event never came
[  244.595146] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
[  244.613453] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[  244.629208] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[  244.644653] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
embeddedDevice:~# ifconfig wlan0 up  
[  249.188522] ath10k_warn: 2 callbacks suppressed
[  249.188539] ath10k_sdio mmc2:0001:1: failed to write to address 0x828: -110
[  249.207996] ath10k_sdio mmc2:0001:1: unable to disable sdio interrupts: -110
[  249.222690] ath10k_sdio mmc2:0001:1: Could not init hif: -110
SIOCSIFFLAGS: Connection timed out

Edit: I am using a Zynq Ultrascale with a Silex SDMAC wlan module.

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

Thanks. I can reenable the interface now.

embeddedDevice:~# ifconfig wlan0 up
[  337.197585] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
embeddedDevice:~# ifconfig wlan0 down
[  346.295487] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
[  346.309546] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[  346.319821] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[  346.326582] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
embeddedDevice:~# ifconfig wlan0 up  
[  353.409620] ath10k_sdio mmc2:0001:1: unsupported HTC service id: 1536
[  353.443254] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

You did not try to create an AP by chance as well.

embeddedDevice:~# cat /var/run/hostapd-ath0.conf
wpa=1
ssid=S2223327
interface=ath0
driver=nl80211
channel=
wpa_passphrase=12345678
hw_mode=g
ap_max_inactivity=3600
disassoc_low_ack=0
country_code=DE

embeddedDevice:~# hostapd -B -P /var/run/hostapd-ath0.pid /var/run/hostapd-ath0.conf
Configuration file: /var/run/hostapd-ath0.conf
[  262.121414] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
[  262.134404] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[  262.143101] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[  262.149161] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
[  263.439628] ath10k_sdio mmc2:0001:1: unsupported HTC service id: 1536
[  263.461797] ------------[ cut here ]------------
[  263.466547] WARNING: CPU: 1 PID: 7259 at ./include/linux/dma-mapping.h:516 ath10k_add_interface+0x460/0x11ec [ath10k_core]
[  263.488650] Modules linked in: arc4 ath10k_sdio(O) ath10k_core(O) ath(O) mac80211(O) sha256_generic cfg80211(O) compat(O) ipv6 can4linux(O)
[  263.514394] CPU: 1 PID: 7259 Comm: hostapd Tainted: G           O      4.18.16-rlms01-64383-gaa7aba1-dirty #1
[  263.524223] Hardware name: Xilinx Zynq Platform
[  263.528765] [<801157dc>] (unwind_backtrace) from [<8010f250>] (show_stack+0x20/0x24)
[  263.536473] [<8010f250>] (show_stack) from [<807774f4>] (dump_stack+0x9c/0xb0)
[  263.543685] [<807774f4>] (dump_stack) from [<80126368>] (__warn+0xfc/0x118)
[  263.550623] [<80126368>] (__warn) from [<801264bc>] (warn_slowpath_null+0x50/0x58)
[  263.558247] [<801264bc>] (warn_slowpath_null) from [<7f2ec4a0>] (ath10k_add_interface+0x460/0x11ec [ath10k_core])
[  263.568648] [<7f2ec4a0>] (ath10k_add_interface [ath10k_core]) from [<7f21032c>] (drv_add_interface+0xdc/0x228 [mac80211])
[  263.579754] [<7f21032c>] (drv_add_interface [mac80211]) from [<7f2294c0>] (ieee80211_do_open+0x33c/0x8ec [mac80211])
[  263.590426] [<7f2294c0>] (ieee80211_do_open [mac80211]) from [<7f229ab0>] (ieee80211_open+0x40/0x68 [mac80211])
[  263.600560] [<7f229ab0>] (ieee80211_open [mac80211]) from [<8065d580>] (__dev_open+0xd4/0x164)
[  263.609103] [<8065d580>] (__dev_open) from [<8065d940>] (__dev_change_flags+0x118/0x1c0)
[  263.617171] [<8065d940>] (__dev_change_flags) from [<8065da10>] (dev_change_flags+0x28/0x58)
[  263.625591] [<8065da10>] (dev_change_flags) from [<80701ba0>] (devinet_ioctl+0x2e4/0x790)
[  263.633749] [<80701ba0>] (devinet_ioctl) from [<807043e4>] (inet_ioctl+0x400/0x410)
[  263.641390] [<807043e4>] (inet_ioctl) from [<80638c58>] (sock_ioctl+0x2f8/0x554)
[  263.648766] [<80638c58>] (sock_ioctl) from [<80266490>] (do_vfs_ioctl+0x8e4/0x984)
[  263.656316] [<80266490>] (do_vfs_ioctl) from [<80266574>] (ksys_ioctl+0x44/0x6c)
[  263.663692] [<80266574>] (ksys_ioctl) from [<802665b4>] (sys_ioctl+0x18/0x1c)
[  263.670811] [<802665b4>] (sys_ioctl) from [<80101000>] (ret_fast_syscall+0x0/0x54)
[  263.678355] Exception stack(0x981f9fa8 to 0x981f9ff0)
[  263.683394] 9fa0:                   00000000 00000007 00000007 00008914 7e820908 00001003
[  263.691554] 9fc0: 00000000 00000007 00000001 00000036 000888b0 00000000 00000000 0000000a
[  263.699710] 9fe0: 000859dc 7e8208fc 00046283 76d5f036
[  263.901554] ---[ end trace 722026367a4cc12c ]---
[  263.911313] ath10k_sdio mmc2:0001:1: coherent DMA mask is unset
[  263.923814] ath10k_sdio mmc2:0001:1: failed to allocate beacon buffer: -12
[  263.985861] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
[  264.000430] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[  264.010712] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[  264.019494] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
Could not set interface ath0 flags (UP): Cannot allocate memory
nl80211: Could not configure driver mode
nl80211: deinit ifname=ath0 disabled_11b_rates=0
nl80211 driver initialization failed.
ath0: interface state UNINITIALIZED->DISABLED
ath0: AP-DISABLED 
hostapd_free_hapd_data: Interface ath0 wasn't started

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

When executing hostapd with -dd:

embeddedDevice:~# hostapd -dd -B -P /var/run/hostapd-ath0.pid /var/run/hostapd-ath0.conf
random: Trying to read entropy from /dev/random
Configuration file: /var/run/hostapd-ath0.conf
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-0f-ac:13
nl80211: Supported cipher 00-0f-ac:11
nl80211: Supported cipher 00-0f-ac:12
nl80211: Supports Probe Response offload in AP mode
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
nl80211: Use separa[  316.315103] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
te P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl8021[  316.333540] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
1: use P2P_DEVICE support
nl80211: interface ath0 in phy phy0
[  316.345784] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Failed to se[  316.354311] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
t interface 4 to mode 3: -16 (Device or resource busy)
nl80211: Try mode change after setting interface down
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Mode change succeeded while interface is down
[  317.649082] ath10k_sdio mmc2:0001:1: unsupported HTC service id: 1536
[  317.674677] ------------[ cut here ]------------
[  317.679389] WARNING: CPU: 0 PID: 9433 at ./include/linux/dma-mapping.h:516 ath10k_add_interface+0x460/0x11ec [ath10k_core]
[  317.708310] Modules linked in: arc4 ath10k_sdio(O) ath10k_core(O) ath(O) mac80211(O) sha256_generic cfg80211(O) compat(O) ipv6 can4linux(O)
[  317.728331] CPU: 0 PID: 9433 Comm: hostapd Tainted: G           O      4.18.16-rlms01-64383-gaa7aba1-dirty #1
[  317.738156] Hardware name: Xilinx Zynq Platform
[  317.742699] [<801157dc>] (unwind_backtrace) from [<8010f250>] (show_stack+0x20/0x24)
[  317.750406] [<8010f250>] (show_stack) from [<807774f4>] (dump_stack+0x9c/0xb0)
[  317.757617] [<807774f4>] (dump_stack) from [<80126368>] (__warn+0xfc/0x118)
[  317.764556] [<80126368>] (__warn) from [<801264bc>] (warn_slowpath_null+0x50/0x58)
[  317.772180] [<801264bc>] (warn_slowpath_null) from [<7f2e04a0>] (ath10k_add_interface+0x460/0x11ec [ath10k_core])
[  317.782567] [<7f2e04a0>] (ath10k_add_interface [ath10k_core]) from [<7f20432c>] (drv_add_interface+0xdc/0x228 [mac80211])
[  317.793672] [<7f20432c>] (drv_add_interface [mac80211]) from [<7f21d4c0>] (ieee80211_do_open+0x33c/0x8ec [mac80211])
[  317.804338] [<7f21d4c0>] (ieee80211_do_open [mac80211]) from [<7f21dab0>] (ieee80211_open+0x40/0x68 [mac80211])
[  317.814471] [<7f21dab0>] (ieee80211_open [mac80211]) from [<8065d580>] (__dev_open+0xd4/0x164)
[  317.823009] [<8065d580>] (__dev_open) from [<8065d940>] (__dev_change_flags+0x118/0x1c0)
[  317.831077] [<8065d940>] (__dev_change_flags) from [<8065da10>] (dev_change_flags+0x28/0x58)
[  317.839497] [<8065da10>] (dev_change_flags) from [<80701ba0>] (devinet_ioctl+0x2e4/0x790)
[  317.847654] [<80701ba0>] (devinet_ioctl) from [<807043e4>] (inet_ioctl+0x400/0x410)
[  317.855295] [<807043e4>] (inet_ioctl) from [<80638c58>] (sock_ioctl+0x2f8/0x554)
[  317.862673] [<80638c58>] (sock_ioctl) from [<80266490>] (do_vfs_ioctl+0x8e4/0x984)
[  317.870223] [<80266490>] (do_vfs_ioctl) from [<80266574>] (ksys_ioctl+0x44/0x6c)
[  317.877599] [<80266574>] (ksys_ioctl) from [<802665b4>] (sys_ioctl+0x18/0x1c)
[  317.884717] [<802665b4>] (sys_ioctl) from [<80101000>] (ret_fast_syscall+0x0/0x54)
[  317.892261] Exception stack(0x9c411fa8 to 0x9c411ff0)
[  317.897300] 1fa0:                   00000000 00000007 00000007 00008914 7ecb4908 00001003
[  317.905461] 1fc0: 00000000 00000007 00000001 00000036 000888b0 00000000 00000000 0000000a
[  317.913616] 1fe0: 000859dc 7ecb48fc 00046283 76d13036
[  318.125045] ---[ end trace 116d33570023a871 ]---
[  318.140784] ath10k_sdio mmc2:0001:1: coherent DMA mask is unset
[  318.153403] ath10k_sdio mmc2:0001:1: failed to allocate beacon buffer: -12
[  318.215551] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
[  318.230089] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[  318.240360] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[  318.249157] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
Could not set interface ath0 flags (UP): Cannot allocate memory
nl80211: Failed to set interface up after switching mode
nl80211: Interface mode change to 3 from 3 failed
nl80211: Could not configure driver mode
nl80211: deinit ifname=ath0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=4)
netlink: Operstate: ifindex=4 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 4 iftype 2 (STATION)
nl80211: Teardown AP(ath0) - device_ap_sme=0 use_monitor=0
nl80211 driver initialization failed.
hostapd_interface_deinit_free(0x872f8)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x872f8)
ath0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss ath0
ath0: AP-DISABLED 
hostapd_cleanup(hapd=0x87ec8 (ath0))
hostapd_free_hapd_data: Interface ath0 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x872f8)
hostapd_interface_free: free hapd 0x87ec8
hostapd_cleanup_iface(0x872f8)
hostapd_cleanup_iface_partial(0x872f8)
hostapd_cleanup_iface: free iface=0x872f8

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

This seems to be related with the fact that I cant set the Mode.

embeddedDevice:~# ifconfig ath0 down
embeddedDevice:~# iwconfig ath0 mode monitor 
Error for wireless request "Set Mode" (8B06) :
    SET failed on device ath0 ; Inappropriate ioctl for device.
embeddedDevice:~# iwconfig ath0 mode master  
Error for wireless request "Set Mode" (8B06) :
    SET failed on device ath0 ; Inappropriate ioctl for device.

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

Hi @pfiser,
Thanks again. Yes it worked. I can create an AP now.

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

Did you by chance also see the behaviour, that the AP is only maintained for a couple seconds before collapsing without a dmesg or anything. Sry for that vague description, I am trying to narrow it down currently but did you maybe see something similar?

The AP works, I can connect with other devices to it and ping in all directions but at some point it just stops. There is no error code or debug message thrown and the ifconfig command still shows the if as up but there is nothing visible when scanning with wifi analyzer.

4: ath0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 84:25:3f:3e:de:d0 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 brd 10.0.0.255 scope global ath0
       valid_lft forever preferred_lft forever
    inet6 fe80::8625:3fff:fe3e:ded0/64 scope link 
       valid_lft forever preferred_lft forever

from linux-ath.

pfiser avatar pfiser commented on July 21, 2024

Hi @jowoeber,
no I haven't encountered this behaviour before.
But I haven't really used AP function much. I did it just for testing purposes. Our primary usecase is client mode only.
Sorry, but this time you are on your own :)

Couple of hints:

  • wlan power saving on / off?
  • firmware version (try different versions)
  • hostapd version / settings?

BR,
Primoz

from linux-ath.

jowoeber avatar jowoeber commented on July 21, 2024

Thanks,
my luck was bound to run out at some point. Will try your tips and report back.

from linux-ath.

pfiser avatar pfiser commented on July 21, 2024

Hi Joannes,
I am glad you got it working.
Also thanks for providing information about the solution (workaround).
BR,
Primoz

from linux-ath.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.