to work the script that I propose requires the job definition to be modified like this:
for i in $(iw dev | grep -oP 'Interface\s+\K\w+'); do check_wifi6e.py $(iw dev "$i" info | grep -oP 'wiphy\s+\K\d+') && echo "$i""_ax_6GHz: supported" || echo "$i""_ax_6GHz: unsupported"; done
to work the script that I propose requires the job definition to be modified like this:
for i in $(iw dev | grep -oP 'Interface\ s+\K\w+ '); do check_wifi6e.py $(iw dev "$i" info | grep -oP 'wiphy\s+\K\d+') && echo "$i""_ax_6GHz: supported" || echo "$i""_ax_6GHz: unsupported"; done