mac80211_hwsim
mac80211_hwsim copied to clipboard
output the dropped packets
Hi, I am learning to use wmediumd. I hope that I can add codes in the following codes and output the detail information of the dropped packets in log file. But I don't know how to modified codes in program wmediumd.c . Can you tell me how to implement it. Thanks a lot! if (drand48() <= error_prob) { w_logf(ctx, LOG_INFO, "Dropped mcast from " MAC_FMT " to " MAC_FMT " at receiver\n", MAC_ARGS(src), MAC_ARGS(station->addr)); continue; } Best Regards, Xian Guo