I'm currently trying to simulate bad signal/traffic in a wireless environment by trying to randomly flip bits in a packet. Specifically, I am trying to flip the bits in the data section of a TCP packet (maybe.. flip 1 bit every 5 packets?) I know this will make the router non-functional but the whole point of this is to have a simulation of a environment where the router is not transmitting properly for some reason.
With that, there are no packages in OpenWRT that are able perform what I am trying to do. With the only exception of Airpwn (however the wireless driver is not supported by Airpwn).
With nowhere else to look, my search has extended into the wireless drivers of the Raspberry Pi 3B, otherwise known as brcmfmac. However as I cannot find much information about the program flow of the wireless driver, I would like seek help from the community if anyone knows how will I be able to edit the way the router transmit the bits?