|
Bugzilla – Full Text Bug Listing |
| Summary: | Need destination and source mac addresses in MAC trace hooks | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | wifi | Assignee: | sebastien.deronne |
| Status: | RESOLVED MOVED | ||
| Severity: | enhancement | CC: | ns-bugs, sebastien.deronne |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 1645 | ||
| Attachments: | patch | ||
|
Description
Gustavo J. A. M. Carneiro
2013-10-26 15:24:47 UTC
Hi Gustavo, Thanks for the patch. I looked through it and the code is good. However, I'm not sure about the meaning of "source" and "destination" for NotifyXXX. Do you want to them to mean "transmitter and receiver" or "original source and destination"? I just want to check that they are correct. Thanks, Daniel Hello. What pyviz needs, at least, is the transmitter and receiver MAC stations. If an AP is retransmitting a MAC frame from STA1 to STA2, I would like destination to be STA2.macaddr and source to be STA1.macaddr, even though the AP would be the actual transmitter. Hi, I see why you used GetAddr3() in some places. One thing that I'm not sure is that I think most people would expect these kind of traces to show the immediate sender and receiver. (i.e. with AP, that would show AP address). Hm.. ideally it would probably be better to just have the WifiMacHeader as parameter, but I'm not sure that is easy to obtain in all places... |