Skip to content

wifi-scripts: change wifi-station's mac option into list - #17650

Merged
openwrt-bot merged 1 commit into
openwrt:mainfrom
rany2:wifi-station-mac-list
Nov 30, 2025
Merged

openwrt-bot merged 1 commit into
openwrt:mainfrom
rany2:wifi-station-mac-list

Conversation

@rany2

@rany2 rany2 commented Jan 17, 2025

Copy link
Copy Markdown
Contributor

In the past PR1 to add SAE wifi-station support, a commenter2 requested that the mac option be changed into a list. After trying to migrate my old RADIUS setup I found myself wanting this change as well as it would simplify my config. This patch does precisely that. Old configs that specify option mac .... still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

@github-actions github-actions Bot added the core packages pull request/issue for core (in-tree) packages label Jan 17, 2025
@rany2
rany2 force-pushed the wifi-station-mac-list branch from 1f98326 to a9a1c8e Compare January 18, 2025 13:18
@b0ch3nski

Copy link
Copy Markdown

This is indeed a right way to go - makes mac based filtering much easier 👍

@Neustradamus

Copy link
Copy Markdown

@rany2: Nice PR!

@rany2
rany2 force-pushed the wifi-station-mac-list branch from a9a1c8e to b4e8ea2 Compare February 11, 2025 11:47
@blogic

blogic commented Feb 19, 2025

Copy link
Copy Markdown
Contributor

it looks like the schema for the ucode version of the scripts was changed but the actual ucode script was not changed.

@rany2

rany2 commented Feb 19, 2025

Copy link
Copy Markdown
Contributor Author

it looks like the schema for the ucode version of the scripts was changed but the actual ucode script was not changed.

At the time I wasn't to find any code to change. Can you point me to where it's used?

@rany2

rany2 commented Feb 19, 2025

Copy link
Copy Markdown
Contributor Author

@blogic thanks, do I need to also modify it for SAE support? I wasn't aware of it.

@blogic

blogic commented Feb 19, 2025

Copy link
Copy Markdown
Contributor

ideally psk and sae code paths behave the same way

@rany2
rany2 force-pushed the wifi-station-mac-list branch from b4e8ea2 to a973a36 Compare February 19, 2025 11:47
@rany2

rany2 commented Feb 19, 2025

Copy link
Copy Markdown
Contributor Author

@blogic I'm not sure if this is correct currently. Please let me know

@rany2

rany2 commented Feb 19, 2025

Copy link
Copy Markdown
Contributor Author

I'll make a separate PR to add SAE wifi-station support for the ucode implementation.

@Neustradamus

Copy link
Copy Markdown

@rany2: Have you progressed on your PR?

@rany2

rany2 commented Apr 23, 2025

Copy link
Copy Markdown
Contributor Author

@Neustradamus Clearly not, I forgot about it. I'll make the time to fix it up on the weekends maybe

@rany2

rany2 commented Sep 6, 2025

Copy link
Copy Markdown
Contributor Author

I'll make a separate PR to add SAE wifi-station support for the ucode implementation.

#19965

@b0ch3nski

Copy link
Copy Markdown

Is there anything else that needs to be done to get this merged? :shipit:

@rany2

rany2 commented Oct 7, 2025

Copy link
Copy Markdown
Contributor Author

Is there anything else that needs to be done to get this merged? :shipit:

That referenced PR still hasn't been merged, so until then I guess we need to wait.

@rany2

rany2 commented Nov 8, 2025

Copy link
Copy Markdown
Contributor Author

This PR has been updated to add ucode support.

@rany2 rany2 changed the title hostapd: change wifi-station's mac option into list wifi-scripts: change wifi-station's mac option into list Nov 8, 2025
@Neustradamus

Copy link
Copy Markdown

I hope that @nbd168, @blogic, @robimarko, @hauke can look your PR after your update :)

@Neustradamus

Copy link
Copy Markdown

@hauke: Have you seen this good PR too?

The other one from @rany2 has been already merged:

In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
@hauke
hauke force-pushed the wifi-station-mac-list branch from 09450d2 to c16d831 Compare November 30, 2025 23:44
@openwrt-bot
openwrt-bot merged commit c16d831 into openwrt:main Nov 30, 2025
@rany2
rany2 deleted the wifi-station-mac-list branch November 30, 2025 23:50
@Neustradamus

Copy link
Copy Markdown

@rany2: Thanks, good job and thanks to @hauke for merging!

danpawlik pushed a commit to danpawlik/openwrt that referenced this pull request Dec 1, 2025
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Dec 1, 2025
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt/openwrt#17145
[2]: openwrt/openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt/openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
danpawlik pushed a commit to danpawlik/openwrt that referenced this pull request Dec 1, 2025
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
codetiger666 pushed a commit to codetiger666/openwrt that referenced this pull request Dec 14, 2025
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
Lienol pushed a commit to Lienol/openwrt that referenced this pull request Dec 16, 2025
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt/openwrt#17145
[2]: openwrt/openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt/openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
HateTM pushed a commit to HateTM/tpl_ax80_ubi that referenced this pull request Jan 6, 2026
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request Jan 7, 2026
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt#17145
[2]: openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
Quarx2k pushed a commit to Quarx2k/OpenWRT-BE7000 that referenced this pull request Sep 22, 2026
In the past PR[1] to add SAE wifi-station support, a commenter[2] requested
that the mac option be changed into a list. After trying to migrate my old
RADIUS setup I found myself wanting this change as well as it would simplify
my config. This patch does precisely that. Old configs that specify
`option mac ....` still work without any issues.

This change was done for both PSK and SAE. The schema was updated as well.

[1]: openwrt/openwrt#17145
[2]: openwrt/openwrt#17145 (comment)

Signed-off-by: Rany Hany <[email protected]>
Link: openwrt/openwrt#17650
Signed-off-by: Hauke Mehrtens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core packages pull request/issue for core (in-tree) packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants