mac80211_hwsim icon indicating copy to clipboard operation
mac80211_hwsim copied to clipboard

output the dropped packets

Open iamxg opened this issue 6 years ago • 0 comments

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

iamxg avatar Apr 27 '18 16:04 iamxg