I pushed an update. This patch is not longer needed:
here (we need int instead of uint8_t):
https://github.com/ZerBea/hcxdumptool/bl...ool.c#L132
https://github.com/ZerBea/hcxdumptool/bl...ol.c#L6432
starting with this commit we use int instead of unit8_t:
https://github.com/ZerBea/hcxdumptool/co...ee0d43ea44
That allow us to use more than 255 channels and negative channels.
BTW:
You mentioned airodump-ng so please read this issue report:
https://github.com/aircrack-ng/aircrack-ng/issues/2184
especially that one:
https://github.com/aircrack-ng/aircrack-...-699992260
Please re-compile aircrack-ng suite without libnl support. Than check if an out of range channel is really set.
hcxdumptool doesn't use NETLINK (libnl) in favor of ioctl() system calls and it will notice you if the channel can't be set.
And I have several more "good" reasons not to use NETLINK:
https://www.quora.com/What-are-the-diffe...ls?share=1
Also you should notice that iw is also using libnl (NETLINK).
here (we need int instead of uint8_t):
https://github.com/ZerBea/hcxdumptool/bl...ool.c#L132
https://github.com/ZerBea/hcxdumptool/bl...ol.c#L6432
starting with this commit we use int instead of unit8_t:
https://github.com/ZerBea/hcxdumptool/co...ee0d43ea44
That allow us to use more than 255 channels and negative channels.
BTW:
You mentioned airodump-ng so please read this issue report:
https://github.com/aircrack-ng/aircrack-ng/issues/2184
especially that one:
https://github.com/aircrack-ng/aircrack-...-699992260
Please re-compile aircrack-ng suite without libnl support. Than check if an out of range channel is really set.
hcxdumptool doesn't use NETLINK (libnl) in favor of ioctl() system calls and it will notice you if the channel can't be set.
And I have several more "good" reasons not to use NETLINK:
https://www.quora.com/What-are-the-diffe...ls?share=1
Also you should notice that iw is also using libnl (NETLINK).