[mac-frame] remove unused Set{Src/Dst}{Addr/PanId}() methods (#10779)

Recent changes updated `Mac::Frame` to use `FrameBuilder` for
preparing frame headers. With the adoption of this model, the
previously defined `Set` methods for setting source/destination
address or PAN ID are no longer used or needed. This commit removes
them.
This commit is contained in:
Abtin Keshavarzian
2024-10-03 15:57:44 -07:00
committed by GitHub
parent f0cb5a3f22
commit 262b998c10
3 changed files with 0 additions and 168 deletions
-3
View File
@@ -626,9 +626,6 @@ void TestMacFrameApi(void)
VerifyOrQuit(frame.IsSrcAddrPresent());
SuccessOrQuit(frame.GetSecurityControlField(scf));
VerifyOrQuit(scf == 0x0d);
frame.SetSecurityControlField(0xff);
SuccessOrQuit(frame.GetSecurityControlField(scf));
VerifyOrQuit(scf == 0xff);
#endif // OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2
// IEEE 802.15.4-2006 Mac Command