n3ph_ has quit [Ping timeout: 480 seconds]
vincejv has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
dansan has quit [Ping timeout: 480 seconds]
slh64 has quit [Ping timeout: 480 seconds]
slh64 has joined #openwrt-devel
slh has quit [Read error: Connection reset by peer]
slh has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
dansan has joined #openwrt-devel
vincejv has joined #openwrt-devel
Nilsro_ has joined #openwrt-devel
Nilsro has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
eluks has quit [Remote host closed the connection]
eluks has joined #openwrt-devel
dansan has quit [Ping timeout: 480 seconds]
dansan has joined #openwrt-devel
sorinello has joined #openwrt-devel
johnf has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
johnf has joined #openwrt-devel
KGB-2 has quit [Read error: Connection reset by peer]
KGB-2 has joined #openwrt-devel
n3ph has joined #openwrt-devel
lemoer has joined #openwrt-devel
robimarko has joined #openwrt-devel
lemoer has quit [Ping timeout: 480 seconds]
lemoer has joined #openwrt-devel
PaulFertser has quit [Ping timeout: 480 seconds]
PaulFertser has joined #openwrt-devel
maciekb721839538 has quit [Quit: bye]
maciekb7218395385 has joined #openwrt-devel
<stintel> hauke: ping
Stat_headcrabbed has joined #openwrt-devel
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
goliath has joined #openwrt-devel
Stat_headcrabbed has joined #openwrt-devel
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
<neocturne> nbd: can I get some feedback on https://github.com/openwrt/openwrt/pull/17821 (earlier wireless PHY renaming)?
cmonroe has quit [Ping timeout: 480 seconds]
GNUmoon2 has quit [Remote host closed the connection]
merbzt has quit [Remote host closed the connection]
merbzt has joined #openwrt-devel
hexa- has quit [Quit: WeeChat 4.4.3]
hexa- has joined #openwrt-devel
cmonroe has joined #openwrt-devel
Stat_headcrabbed has joined #openwrt-devel
GNUmoon2 has joined #openwrt-devel
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
rua has joined #openwrt-devel
Stat_headcrabbed has joined #openwrt-devel
Lynx- has joined #openwrt-devel
Lynx- has quit []
AtomiclyCursed has quit [Quit: ZNC 1.9.1 - https://znc.in]
<nbd> neocturne: i have a slightly different idea on how to handle renaming in a better way
<nbd> i've started a rewrite of the netifd wireless.c code in ucode
AtomiclyCursed2 has joined #openwrt-devel
<nbd> i could change the code to modify the handling of disabled wifi-devices
<nbd> so that instead of being left alone, it actually calls setup for a disabled wifi device without adding any interfaces
<nbd> that should trigger the rename early enough for your purposes
<nbd> without moving the logic out of mac80211.sh
<nbd> brb/bbl
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
valku has joined #openwrt-devel
<neocturne> nbd: hmm, would that also work when the wireless isn't up at all?
<neocturne> Hmm yea, I guess we have a least netifd running all the time in Gluon, so that should be fine
<dwfreed> if you don't have netifd running, you don't have any networking (unless you've replaced it with something else)
<neocturne> dwfreed: true, and for now Gluon still uses netifd for its whole network setup like vanilla OpenWrt
MAbeeTT has joined #openwrt-devel
MAbeeTT5 has quit [Ping timeout: 480 seconds]
<neocturne> One thing I'm not sure about is our initial setup scripts in Gluon. Those run from uci-defaults, definitely before netifd
<neocturne> (we currently have a hack there to have them at least run after the wireless detection has happened, to be improved in the future...)
<nbd> hm, i think on some platforms it's not guaranteed that the phy is even available during uci-defaults
<neocturne> Absolutely, it's definitely not perfect
<nbd> since kernel module probe might be running in background and might need more time
<neocturne> Our scripts are currently unable to resolve the wireless interfaces found in UCI through iwinfo if they haven't been renamed yet
<neocturne> So hotplug.d that also handles filling the UCI wireless seemed like the best place to also rename the interfaces, so they can be resolved
<neocturne> Relying on netifd for that would make our setup scripts more convoluted, I think
mko has quit [Quit: ZNC 1.9.1 - https://znc.in]
mko has joined #openwrt-devel
<nbd> neocturne: i think in general an even better solution would be if you don't have to interact with the phy at all and instead are able to pull all the required information from board.json
<neocturne> Seems like it would require a lot of information in board.json, for example we need each radio's supported channel list
<nbd> if you make a list of information that you need, i can extend board.json
<neocturne> Hmm okay, I can look into that, thanks
<nbd> it would also make it easier for you to deal with mt7996 and other wifi7 devices
<nbd> since those show up as a single phy with multiple radios
<nbd> which end up being configured by separate wifi-device sections
<neocturne> Interesting
<neocturne> Optimally, we'd have all information libiwinfo supports available in some form. Currently we're using hwmodelist, htmodelist, freqlist, txpwrlist and txpower_offset... as well as looking for the flag MFP_CAPABLE directly in debugfs hwflags
<nbd> do you still care about devices that don't have MFP support?
<nbd> board.json already has htmodes and bands
<nbd> i'd have to add the list of channels
<nbd> per band
n3ph has quit [Quit: WeeChat 4.5.2]
<neocturne> I don't have any numbers, but there are a lot of older devices running Gluon (basically everything that OpenWrt can still fit on), so I assume there's going to be a few devices without MFP in our support list
n3ph has joined #openwrt-devel
<nbd> i have another idea that is conceptually simpler and solves other issues at the same time
<nbd> netifd should keep track of an available state for wifi-devices (default to false). when the system boots, the hotplug script (and a loop after kmodloader) handles the rename, then sets the available flag in netifd
<nbd> so even during hotplug after the boot script, netifd setup is guaranteed to be run after the rename
<nbd> that way you can keep your script logic as-is
<nbd> and netifd wireless setup doesn't race aaginst hotplug rename
<neocturne> Oh, that sounds nice. I think udev works similarly, with new devices only being reported to users after the rules have completed?
<nbd> netifd does the same for network devices/interfaces
rua has quit [Quit: Leaving.]
<nbd> just not for wireless phys yet
<nbd> hm, that's also a bit tricky, because it would have to be file based
<nbd> since netifd isn't up yet at the time the boot scripts run
rua has joined #openwrt-devel
<nbd> another idea would be to move the rename logic to a separate script
<nbd> and call that script from the boot script after kmodloader
<nbd> so you get a rename for all devices that were probed immediately
<nbd> if you have some gluon specific logic to wait for a bit longer during uci-defaults, you could simply call that script again
<nbd> as long as you don't do it from hotplug
<nbd> that way it wouldn't race against netifd setup
<neocturne> Hmm okay, probably good enough. Although moving more of Gluon's wireless setup to hotplug eventually is also something I have been thinking about, to get rid of the additional delay (or depending on timing there at all) - I think the default UCI sections are also generated in hotplug?
<owrt-images-builds> Build [#127](https://buildbot.openwrt.org/images/#/builders/105/builds/127) of `main_apm821xx/nand` completed successfully.
<robimarko> Ansuel: You around?
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
Stat_headcrabbed has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
n3ph has quit [Ping timeout: 480 seconds]
Stat_headcrabbed has joined #openwrt-devel
Stat_headcrabbed has quit []
Stat_headcrabbed has joined #openwrt-devel
Stat_headcrabbed has quit []
<Edu4rdSHL> How do I override the contents of a folder when performing a custom build? I want to remove everything in /etc/hotplug.d/ieee80211/
<Edu4rdSHL> It's doing a lot of things to my wifi that I don't want to
n3ph has joined #openwrt-devel
goliath has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
killgufo- has joined #openwrt-devel
dansan has quit [Ping timeout: 480 seconds]
dansan has joined #openwrt-devel
killgufo has quit [Ping timeout: 480 seconds]
killgufo- is now known as killgufo
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Habbie has joined #openwrt-devel
dansan_ has joined #openwrt-devel
n3ph has joined #openwrt-devel
dansan has quit [Ping timeout: 480 seconds]
checkfoc_us9 has quit [Remote host closed the connection]
checkfoc_us9 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
torv has quit [Ping timeout: 480 seconds]
torv has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
torv has quit [Remote host closed the connection]
n3ph has joined #openwrt-devel
goliath has joined #openwrt-devel
torv has joined #openwrt-devel
slh has quit [Ping timeout: 480 seconds]
slh64 has quit [Ping timeout: 480 seconds]
slh has joined #openwrt-devel
slh64 has joined #openwrt-devel
<hauke> stintel: pong
torv has quit [Ping timeout: 480 seconds]
torv has joined #openwrt-devel
Fijxu has quit [Quit: XD!!]
Fijxu has joined #openwrt-devel
Fijxu has quit []
Fijxu has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
dansan_ has quit [Ping timeout: 480 seconds]
sorinello has quit [Ping timeout: 480 seconds]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
torv has quit [Remote host closed the connection]
dansan_ has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
torv has joined #openwrt-devel