📄 ms_fqi_initialization.m
字号:
% ms_fqi_initialization;
xpaddedframelength=xframelength;
switch xrc
case 3
switch xframelength
case {16,40}
xgenpoly=[6 2 1 0];
case 80
xgenpoly=[8 7 4 3 1 0];
case 172
xgenpoly=[12 11 10 9 8 4 1 0];
case {24,360,744 1512,3048,6120}
xgenpoly=[16 15 14 11 6 5 2 1 0];
otherwise
error('Frame quality indicator中RC3配置的帧长度不可用');
end
case 4
switch xframelength
case 21
xpaddedframelength=22;
xgenpoly=[6 2 1 0];
case 55
xpaddedframelength=56;
xgenpoly=[8 7 4 3 1 0];
case 125
xpaddedframelength=126;
xgenpoly=[10 9 8 7 6 4 3 0];
case 267
xpaddedframelength=268;
xgenpoly=[12 11 10 9 8 4 1 0];
case {24 552 1128 2280 4584}
xgenpoly=[16 15 14 11 6 5 2 1 0];
otherwise
error('Frame quality indicator中RC4配置的帧长度不可用');
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -