nfapi: size SRS channel-estimate buffers for 64 gNB antenna elements
The SRS.indication report structs were dimensioned for 8 gNB antenna
elements: channel_matrix held 272*2*8*4 bytes and the report TLV value
carried 64 KiB. A massive-MIMO L1 (Aerial) reporting the normalized
channel IQ matrix for 64 antenna elements needs up to
272 PRGs * 4 UE ports * 64 elements * 4 B = 272 KiB per report.
Introduce NFAPI_NR_SRS_MAX_* dimensioning macros and size both
channel_matrix and the report TLV value from them, so the two buffers
stay consistent (the report TLV previously allowed more UE ports than
channel_matrix could hold).
Assisted-by: Claude Code:claude-fable-5
Signed-off-by:
Gabriele Gemmi <g.gemmi@northeastern.edu>
Showing
Please register or sign in to comment