For the NSA to fully disclose their knowledge of 9/11, both prior and during would have exposed a number of things they were not ready to have disclosed. For example, their information taps were not just on foreign nations, but also the FBI and CIA. The NSA was spying on our own national covert agents and not disclosing this to the FBI and CIA. Assuming they had knowledge of the attack in advance, the only way they would be able to publicly acknowledge it, or even relay to the FBI or CIA would be to admit they were wiretapping other federal agencies. That alone would cause so much backlash for the NSA that they weren't willing to take that risk. They had to watch this whole thing unfold and were unable to stop it.
Having this knowledge means they probably had one or more of three possible scenarios happening:
In the end, the NSA probably chose a defensive stance and kept quiet so that their surveillance operations continued uninhibited for the upcoming war on terrorism and invasion of the middle east. Likewise, the federal agencies involved, under the direction of the executive branch, realized some of the mistakes made and took steps to improve inter-departmental communication.